Class: Stripe::PaymentIntentConfirmParams::PaymentMethodOptions::Klarna::SupplementaryPurchaseData::TrainReservationDetail::Departure

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



4245
4246
4247
4248
4249
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 4245

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.



4239
4240
4241
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 4239

def address
  @address
end

#departs_atObject

Timestamp of departure.



4241
4242
4243
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 4241

def departs_at
  @departs_at
end

#departure_locationObject

Identifier name or reference for the origin location.



4243
4244
4245
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 4243

def departure_location
  @departure_location
end