Class: Stripe::PaymentIntentCreateParams::PaymentDetails::CarRentalDatum::DropOff

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) ⇒ DropOff

Returns a new instance of DropOff.



621
622
623
624
625
# File 'lib/stripe/params/payment_intent_create_params.rb', line 621

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.



615
616
617
# File 'lib/stripe/params/payment_intent_create_params.rb', line 615

def address
  @address
end

#location_nameObject

Location name.



617
618
619
# File 'lib/stripe/params/payment_intent_create_params.rb', line 617

def location_name
  @location_name
end

#timeObject

Timestamp for the location.



619
620
621
# File 'lib/stripe/params/payment_intent_create_params.rb', line 619

def time
  @time
end