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.



1107
1108
1109
1110
1111
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1107

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.



1101
1102
1103
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1101

def code
  @code
end

#nameObject

Name of affiliate partner.



1103
1104
1105
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1103

def name
  @name
end

#travel_authorization_codeObject

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



1105
1106
1107
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1105

def travel_authorization_code
  @travel_authorization_code
end