Class: Stripe::PaymentIntentCaptureParams::PaymentDetails::CarRentalDatum::DropOff
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentIntentCaptureParams::PaymentDetails::CarRentalDatum::DropOff
- Defined in:
- lib/stripe/params/payment_intent_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.
576 577 578 579 580 |
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 576 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.
570 571 572 |
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 570 def address @address end |
#location_name ⇒ Object
Location name.
572 573 574 |
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 572 def location_name @location_name end |
#time ⇒ Object
Timestamp for the location.
574 575 576 |
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 574 def time @time end |