Class: Stripe::PaymentIntentCaptureParams::PaymentDetails::FlightDatum::Segment::Arrival

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/payment_intent_capture_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(airport: nil, arrives_at: nil, city: nil, country: nil) ⇒ Arrival

Returns a new instance of Arrival.



1075
1076
1077
1078
1079
1080
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1075

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.



1067
1068
1069
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1067

def airport
  @airport
end

#arrives_atObject

Arrival date/time.



1069
1070
1071
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1069

def arrives_at
  @arrives_at
end

#cityObject

Arrival city.



1071
1072
1073
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1071

def city
  @city
end

#countryObject

Arrival country.



1073
1074
1075
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1073

def country
  @country
end