Class: Stripe::PaymentIntentCreateParams::PaymentDetails::Subscription::Affiliate

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



1815
1816
1817
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1815

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

Instance Attribute Details

#nameObject

The name of the affiliate that originated the purchase.



1813
1814
1815
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1813

def name
  @name
end