Class: Stripe::PaymentIntent::CreateParams::PaymentDetails::Lodging::Affiliate

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/resources/payment_intent.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.



2542
2543
2544
# File 'lib/stripe/resources/payment_intent.rb', line 2542

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

Instance Attribute Details

#nameObject

The name of the affiliate that originated the purchase.



2540
2541
2542
# File 'lib/stripe/resources/payment_intent.rb', line 2540

def name
  @name
end