Class: Stripe::OrderUpdateParams::Payment::Settings::PaymentMethodOptions::Klarna::SupplementaryPurchaseData::TrainReservationDetail::Departure

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/order_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.



1295
1296
1297
1298
1299
# File 'lib/stripe/params/order_update_params.rb', line 1295

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.



1289
1290
1291
# File 'lib/stripe/params/order_update_params.rb', line 1289

def address
  @address
end

#departs_atObject

Timestamp of departure.



1291
1292
1293
# File 'lib/stripe/params/order_update_params.rb', line 1291

def departs_at
  @departs_at
end

#departure_locationObject

Identifier name or reference for the origin location.



1293
1294
1295
# File 'lib/stripe/params/order_update_params.rb', line 1293

def departure_location
  @departure_location
end