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.



1600
1601
1602
1603
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1600

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

Instance Attribute Details

#codeObject

Affiliate partner code.



1596
1597
1598
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1596

def code
  @code
end

#nameObject

Affiliate partner name.



1598
1599
1600
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1598

def name
  @name
end