Class: Stripe::OrderUpdateParams::Payment::Settings::PaymentMethodOptions::Klarna::SupplementaryPurchaseData::BusReservationDetail::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

#to_h

Constructor Details

#initialize(address: nil, departs_at: nil, departure_location: nil) ⇒ Departure

Returns a new instance of Departure.



585
586
587
588
589
# File 'lib/stripe/params/order_update_params.rb', line 585

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.



579
580
581
# File 'lib/stripe/params/order_update_params.rb', line 579

def address
  @address
end

#departs_atObject

Timestamp of departure.



581
582
583
# File 'lib/stripe/params/order_update_params.rb', line 581

def departs_at
  @departs_at
end

#departure_locationObject

Identifier name or reference for the origin location.



583
584
585
# File 'lib/stripe/params/order_update_params.rb', line 583

def departure_location
  @departure_location
end