Class: Stripe::PaymentIntentUpdateParams::PaymentDetails::LodgingDatum::Affiliate
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentIntentUpdateParams::PaymentDetails::LodgingDatum::Affiliate
- Defined in:
- lib/stripe/params/payment_intent_update_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
attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h
Constructor Details
#initialize(code: nil, name: nil) ⇒ Affiliate
Returns a new instance of Affiliate.
1578 1579 1580 1581 |
# File 'lib/stripe/params/payment_intent_update_params.rb', line 1578 def initialize(code: nil, name: nil) @code = code @name = name end |
Instance Attribute Details
#code ⇒ Object
Affiliate partner code.
1574 1575 1576 |
# File 'lib/stripe/params/payment_intent_update_params.rb', line 1574 def code @code end |
#name ⇒ Object
Affiliate partner name.
1576 1577 1578 |
# File 'lib/stripe/params/payment_intent_update_params.rb', line 1576 def name @name end |