Class: Stripe::PaymentIntentCreateParams::PaymentDetails::LodgingDatum::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(code: nil, name: nil) ⇒ Affiliate

Returns a new instance of Affiliate.



1769
1770
1771
1772
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1769

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

Instance Attribute Details

#codeObject

Affiliate partner code.



1765
1766
1767
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1765

def code
  @code
end

#nameObject

Affiliate partner name.



1767
1768
1769
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1767

def name
  @name
end