Class: Stripe::PaymentIntentCreateParams::PaymentMethodOptions::Klarna::SupplementaryPurchaseData::RoundTripReservationDetail::Departure

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



4065
4066
4067
4068
4069
# File 'lib/stripe/params/payment_intent_create_params.rb', line 4065

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.



4059
4060
4061
# File 'lib/stripe/params/payment_intent_create_params.rb', line 4059

def address
  @address
end

#departs_atObject

Timestamp of departure.



4061
4062
4063
# File 'lib/stripe/params/payment_intent_create_params.rb', line 4061

def departs_at
  @departs_at
end

#departure_locationObject

Identifier name or reference for the origin location.



4063
4064
4065
# File 'lib/stripe/params/payment_intent_create_params.rb', line 4063

def departure_location
  @departure_location
end