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.



1302
1303
1304
1305
1306
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1302

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.



1296
1297
1298
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1296

def code
  @code
end

#nameObject

Name of affiliate partner.



1298
1299
1300
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1298

def name
  @name
end

#travel_authorization_codeObject

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



1300
1301
1302
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1300

def travel_authorization_code
  @travel_authorization_code
end