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, new, #to_h

Constructor Details

#initialize(code: nil, name: nil, travel_authorization_code: nil) ⇒ Affiliate

Returns a new instance of Affiliate.



1117
1118
1119
1120
1121
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1117

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.



1111
1112
1113
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1111

def code
  @code
end

#nameObject

Name of affiliate partner.



1113
1114
1115
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1113

def name
  @name
end

#travel_authorization_codeObject

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



1115
1116
1117
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1115

def travel_authorization_code
  @travel_authorization_code
end