Class: Stripe::ChargeUpdateParams::PaymentDetails::CarRentalDatum::DropOff
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::ChargeUpdateParams::PaymentDetails::CarRentalDatum::DropOff
- Defined in:
- lib/stripe/params/charge_update_params.rb
Defined Under Namespace
Classes: Address
Instance Attribute Summary collapse
-
#address ⇒ Object
Address of the rental location.
-
#location_name ⇒ Object
Location name.
-
#time ⇒ Object
Timestamp for the location.
Instance Method Summary collapse
-
#initialize(address: nil, location_name: nil, time: nil) ⇒ DropOff
constructor
A new instance of DropOff.
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
#address ⇒ Object
Address of the rental location.
336 337 338 |
# File 'lib/stripe/params/charge_update_params.rb', line 336 def address @address end |
#location_name ⇒ Object
Location name.
338 339 340 |
# File 'lib/stripe/params/charge_update_params.rb', line 338 def location_name @location_name end |
#time ⇒ Object
Timestamp for the location.
340 341 342 |
# File 'lib/stripe/params/charge_update_params.rb', line 340 def time @time end |