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.



1297
1298
1299
1300
1301
1302
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1297

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.



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

def airport
  @airport
end

#arrives_atObject

Arrival date/time.



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

def arrives_at
  @arrives_at
end

#cityObject

Arrival city.



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

def city
  @city
end

#countryObject

Arrival country.



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

def country
  @country
end