Class: Stripe::PaymentIntentCreateParams::PaymentDetails::Lodging::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

attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h

Constructor Details

#initialize(name: nil) ⇒ Affiliate

Returns a new instance of Affiliate.



1403
1404
1405
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1403

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

Instance Attribute Details

#nameObject

The name of the affiliate that originated the purchase.



1401
1402
1403
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1401

def name
  @name
end