Class: Stripe::ChargeUpdateParams::PaymentDetails::CarRentalDatum::DropOff

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



342
343
344
345
346
# File 'lib/stripe/params/charge_update_params.rb', line 342

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.



336
337
338
# File 'lib/stripe/params/charge_update_params.rb', line 336

def address
  @address
end

#location_nameObject

Location name.



338
339
340
# File 'lib/stripe/params/charge_update_params.rb', line 338

def location_name
  @location_name
end

#timeObject

Timestamp for the location.



340
341
342
# File 'lib/stripe/params/charge_update_params.rb', line 340

def time
  @time
end