Class: Stripe::PaymentIntentConfirmParams::PaymentMethodOptions::Klarna::SupplementaryPurchaseData::FerryReservationDetail::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.



3796
3797
3798
3799
3800
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 3796

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.



3790
3791
3792
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 3790

def address
  @address
end

#departs_atObject

Timestamp of departure.



3792
3793
3794
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 3792

def departs_at
  @departs_at
end

#departure_locationObject

Identifier name or reference for the origin location.



3794
3795
3796
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 3794

def departure_location
  @departure_location
end