Class: Stripe::PaymentIntentUpdateParams::PaymentMethodOptions::Klarna::SupplementaryPurchaseData::BusReservationDetail::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, new, #to_h

Constructor Details

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

Returns a new instance of Departure.



3537
3538
3539
3540
3541
# File 'lib/stripe/params/payment_intent_update_params.rb', line 3537

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.



3531
3532
3533
# File 'lib/stripe/params/payment_intent_update_params.rb', line 3531

def address
  @address
end

#departs_atObject

Timestamp of departure.



3533
3534
3535
# File 'lib/stripe/params/payment_intent_update_params.rb', line 3533

def departs_at
  @departs_at
end

#departure_locationObject

Identifier name or reference for the origin location.



3535
3536
3537
# File 'lib/stripe/params/payment_intent_update_params.rb', line 3535

def departure_location
  @departure_location
end