Class: Stripe::PaymentIntentCreateParams::PaymentDetails::CarRentalDatum::Pickup

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, location_name: nil, time: nil) ⇒ Pickup

Returns a new instance of Pickup.



689
690
691
692
693
# File 'lib/stripe/params/payment_intent_create_params.rb', line 689

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.



683
684
685
# File 'lib/stripe/params/payment_intent_create_params.rb', line 683

def address
  @address
end

#location_nameObject

Location name.



685
686
687
# File 'lib/stripe/params/payment_intent_create_params.rb', line 685

def location_name
  @location_name
end

#timeObject

Timestamp for the location.



687
688
689
# File 'lib/stripe/params/payment_intent_create_params.rb', line 687

def time
  @time
end