Class: Stripe::PaymentIntentCreateParams::PaymentMethodOptions::Klarna::SupplementaryPurchaseData::BusReservationDetail::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

attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h

Constructor Details

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

Returns a new instance of Departure.



3591
3592
3593
3594
3595
# File 'lib/stripe/params/payment_intent_create_params.rb', line 3591

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.



3585
3586
3587
# File 'lib/stripe/params/payment_intent_create_params.rb', line 3585

def address
  @address
end

#departs_atObject

Timestamp of departure.



3587
3588
3589
# File 'lib/stripe/params/payment_intent_create_params.rb', line 3587

def departs_at
  @departs_at
end

#departure_locationObject

Identifier name or reference for the origin location.



3589
3590
3591
# File 'lib/stripe/params/payment_intent_create_params.rb', line 3589

def departure_location
  @departure_location
end