Class: Stripe::PaymentIntentCreateParams::PaymentDetails::LodgingDatum::Affiliate
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentIntentCreateParams::PaymentDetails::LodgingDatum::Affiliate
- Defined in:
- lib/stripe/params/payment_intent_create_params.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
Affiliate partner code.
-
#name ⇒ Object
Affiliate partner name.
Instance Method Summary collapse
-
#initialize(code: nil, name: nil) ⇒ Affiliate
constructor
A new instance of Affiliate.
Methods inherited from RequestParams
Constructor Details
#initialize(code: nil, name: nil) ⇒ Affiliate
Returns a new instance of Affiliate.
1558 1559 1560 1561 |
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1558 def initialize(code: nil, name: nil) @code = code @name = name end |
Instance Attribute Details
#code ⇒ Object
Affiliate partner code.
1554 1555 1556 |
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1554 def code @code end |
#name ⇒ Object
Affiliate partner name.
1556 1557 1558 |
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1556 def name @name end |