Class: Stripe::ChargeCaptureParams::PaymentDetails::CarRentalDatum::DropOff
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::ChargeCaptureParams::PaymentDetails::CarRentalDatum::DropOff
- Defined in:
- lib/stripe/params/charge_capture_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.
333 334 335 336 337 |
# File 'lib/stripe/params/charge_capture_params.rb', line 333 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.
327 328 329 |
# File 'lib/stripe/params/charge_capture_params.rb', line 327 def address @address end |
#location_name ⇒ Object
Location name.
329 330 331 |
# File 'lib/stripe/params/charge_capture_params.rb', line 329 def location_name @location_name end |
#time ⇒ Object
Timestamp for the location.
331 332 333 |
# File 'lib/stripe/params/charge_capture_params.rb', line 331 def time @time end |