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.



1714
1715
1716
1717
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1714

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

Instance Attribute Details

#codeObject

Affiliate partner code.



1710
1711
1712
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1710

def code
  @code
end

#nameObject

Affiliate partner name.



1712
1713
1714
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1712

def name
  @name
end