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.



1133
1134
1135
1136
1137
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1133

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.



1127
1128
1129
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1127

def code
  @code
end

#nameObject

Name of affiliate partner.



1129
1130
1131
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1129

def name
  @name
end

#travel_authorization_codeObject

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



1131
1132
1133
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1131

def travel_authorization_code
  @travel_authorization_code
end