Class: Stripe::PaymentIntentCreateParams::PaymentDetails::FlightDatum::Segment::Arrival

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(airport: nil, arrives_at: nil, city: nil, country: nil) ⇒ Arrival

Returns a new instance of Arrival.



1183
1184
1185
1186
1187
1188
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1183

def initialize(airport: nil, arrives_at: nil, city: nil, country: nil)
  @airport = airport
  @arrives_at = arrives_at
  @city = city
  @country = country
end

Instance Attribute Details

#airportObject

Arrival airport IATA code.



1175
1176
1177
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1175

def airport
  @airport
end

#arrives_atObject

Arrival date/time.



1177
1178
1179
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1177

def arrives_at
  @arrives_at
end

#cityObject

Arrival city.



1179
1180
1181
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1179

def city
  @city
end

#countryObject

Arrival country.



1181
1182
1183
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1181

def country
  @country
end