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

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

Constructor Details

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

Returns a new instance of DropOff.



558
559
560
561
562
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 558

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.



552
553
554
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 552

def address
  @address
end

#location_nameObject

Location name.



554
555
556
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 554

def location_name
  @location_name
end

#timeObject

Timestamp for the location.



556
557
558
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 556

def time
  @time
end