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.



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

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.



1286
1287
1288
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1286

def airport
  @airport
end

#arrives_atObject

Arrival date/time.



1288
1289
1290
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1288

def arrives_at
  @arrives_at
end

#cityObject

Arrival city.



1290
1291
1292
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1290

def city
  @city
end

#countryObject

Arrival country.



1292
1293
1294
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1292

def country
  @country
end