Class: Stripe::PaymentIntentCreateParams::PaymentDetails::CarRentalDatum::Affiliate
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentIntentCreateParams::PaymentDetails::CarRentalDatum::Affiliate
- Defined in:
- lib/stripe/params/payment_intent_create_params.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
Affiliate partner code.
-
#name ⇒ Object
Name of affiliate partner.
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.
518 519 520 521 |
# File 'lib/stripe/params/payment_intent_create_params.rb', line 518 def initialize(code: nil, name: nil) @code = code @name = name end |
Instance Attribute Details
#code ⇒ Object
Affiliate partner code.
514 515 516 |
# File 'lib/stripe/params/payment_intent_create_params.rb', line 514 def code @code end |
#name ⇒ Object
Name of affiliate partner.
516 517 518 |
# File 'lib/stripe/params/payment_intent_create_params.rb', line 516 def name @name end |