Class: Stripe::ChargeCaptureParams::PaymentDetails::CarRentalDatum::Pickup
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::ChargeCaptureParams::PaymentDetails::CarRentalDatum::Pickup
- 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) ⇒ Pickup
constructor
A new instance of Pickup.
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) ⇒ Pickup
Returns a new instance of Pickup.
401 402 403 404 405 |
# File 'lib/stripe/params/charge_capture_params.rb', line 401 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.
395 396 397 |
# File 'lib/stripe/params/charge_capture_params.rb', line 395 def address @address end |
#location_name ⇒ Object
Location name.
397 398 399 |
# File 'lib/stripe/params/charge_capture_params.rb', line 397 def location_name @location_name end |
#time ⇒ Object
Timestamp for the location.
399 400 401 |
# File 'lib/stripe/params/charge_capture_params.rb', line 399 def time @time end |