Class: Stripe::PaymentIntentCaptureParams::PaymentDetails::CarRentalDatum::DropOff

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



542
543
544
545
546
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 542

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.



536
537
538
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 536

def address
  @address
end

#location_nameObject

Location name.



538
539
540
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 538

def location_name
  @location_name
end

#timeObject

Timestamp for the location.



540
541
542
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 540

def time
  @time
end