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, 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.



1104
1105
1106
1107
1108
1109
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1104

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.



1096
1097
1098
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1096

def airport
  @airport
end

#arrives_atObject

Arrival date/time.



1098
1099
1100
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1098

def arrives_at
  @arrives_at
end

#cityObject

Arrival city.



1100
1101
1102
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1100

def city
  @city
end

#countryObject

Arrival country.



1102
1103
1104
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1102

def country
  @country
end