Class: Stripe::PaymentIntentCreateParams::PaymentDetails::CarRentalDatum::DropOff
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentIntentCreateParams::PaymentDetails::CarRentalDatum::DropOff
- Defined in:
- lib/stripe/params/payment_intent_create_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.
611 612 613 614 615 |
# File 'lib/stripe/params/payment_intent_create_params.rb', line 611 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.
605 606 607 |
# File 'lib/stripe/params/payment_intent_create_params.rb', line 605 def address @address end |
#location_name ⇒ Object
Location name.
607 608 609 |
# File 'lib/stripe/params/payment_intent_create_params.rb', line 607 def location_name @location_name end |
#time ⇒ Object
Timestamp for the location.
609 610 611 |
# File 'lib/stripe/params/payment_intent_create_params.rb', line 609 def time @time end |