Class: Stripe::Charge::CaptureParams::PaymentDetails::Lodging::Affiliate

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/resources/charge.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(name: nil) ⇒ Affiliate

Returns a new instance of Affiliate.



3262
3263
3264
# File 'lib/stripe/resources/charge.rb', line 3262

def initialize(name: nil)
  @name = name
end

Instance Attribute Details

#nameObject

The name of the affiliate that originated the purchase.



3260
3261
3262
# File 'lib/stripe/resources/charge.rb', line 3260

def name
  @name
end