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

attr_accessor, new, #to_h

Constructor Details

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

Returns a new instance of Arrival.



1088
1089
1090
1091
1092
1093
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1088

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.



1080
1081
1082
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1080

def airport
  @airport
end

#arrives_atObject

Arrival date/time.



1082
1083
1084
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1082

def arrives_at
  @arrives_at
end

#cityObject

Arrival city.



1084
1085
1086
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1084

def city
  @city
end

#countryObject

Arrival country.



1086
1087
1088
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1086

def country
  @country
end