Class: Stripe::PaymentIntentUpdateParams::PaymentMethodOptions::Klarna::SupplementaryPurchaseData::RoundTripReservationDetail::Departure

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

Defined Under Namespace

Classes: Address

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(address: nil, departs_at: nil, departure_location: nil) ⇒ Departure

Returns a new instance of Departure.



4197
4198
4199
4200
4201
# File 'lib/stripe/params/payment_intent_update_params.rb', line 4197

def initialize(address: nil, departs_at: nil, departure_location: nil)
  @address = address
  @departs_at = departs_at
  @departure_location = departure_location
end

Instance Attribute Details

#addressObject

Address of the departure location.



4191
4192
4193
# File 'lib/stripe/params/payment_intent_update_params.rb', line 4191

def address
  @address
end

#departs_atObject

Timestamp of departure.



4193
4194
4195
# File 'lib/stripe/params/payment_intent_update_params.rb', line 4193

def departs_at
  @departs_at
end

#departure_locationObject

Identifier name or reference for the origin location.



4195
4196
4197
# File 'lib/stripe/params/payment_intent_update_params.rb', line 4195

def departure_location
  @departure_location
end