Class: Stripe::PaymentIntentCreateParams::PaymentDetails::FlightDatum::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, travel_authorization_code: nil) ⇒ Affiliate

Returns a new instance of Affiliate.



1247
1248
1249
1250
1251
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1247

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

Instance Attribute Details

#codeObject

Affiliate partner code.



1241
1242
1243
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1241

def code
  @code
end

#nameObject

Name of affiliate partner.



1243
1244
1245
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1243

def name
  @name
end

#travel_authorization_codeObject

Code provided by the company to a travel agent authorizing ticket issuance.



1245
1246
1247
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1245

def travel_authorization_code
  @travel_authorization_code
end