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.



1157
1158
1159
1160
1161
1162
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1157

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.



1149
1150
1151
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1149

def airport
  @airport
end

#arrives_atObject

Arrival date/time.



1151
1152
1153
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1151

def arrives_at
  @arrives_at
end

#cityObject

Arrival city.



1153
1154
1155
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1153

def city
  @city
end

#countryObject

Arrival country.



1155
1156
1157
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1155

def country
  @country
end