Class: Stripe::PaymentIntentConfirmParams::PaymentDetails::CarRentalDatum::Pickup

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

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

Constructor Details

#initialize(address: nil, location_name: nil, time: nil) ⇒ Pickup

Returns a new instance of Pickup.



665
666
667
668
669
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 665

def initialize(address: nil, location_name: nil, time: nil)
  @address = address
  @location_name = location_name
  @time = time
end

Instance Attribute Details

#addressObject

Address of the rental location.



659
660
661
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 659

def address
  @address
end

#location_nameObject

Location name.



661
662
663
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 661

def location_name
  @location_name
end

#timeObject

Timestamp for the location.



663
664
665
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 663

def time
  @time
end