Class: Stripe::PaymentIntentUpdateParams::PaymentDetails::CarRentalDatum::Vehicle
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentIntentUpdateParams::PaymentDetails::CarRentalDatum::Vehicle
- Defined in:
- lib/stripe/params/payment_intent_update_params.rb
Instance Attribute Summary collapse
-
#make ⇒ Object
Make of the rental vehicle.
-
#model ⇒ Object
Model of the rental vehicle.
-
#odometer ⇒ Object
Odometer reading at the time of rental.
-
#type ⇒ Object
Type of the rental vehicle.
-
#vehicle_class ⇒ Object
Class of the rental vehicle.
-
#vehicle_identification_number ⇒ Object
Vehicle identification number (VIN).
Instance Method Summary collapse
-
#initialize(make: nil, model: nil, odometer: nil, type: nil, vehicle_class: nil, vehicle_identification_number: nil) ⇒ Vehicle
constructor
A new instance of Vehicle.
Methods inherited from RequestParams
Constructor Details
#initialize(make: nil, model: nil, odometer: nil, type: nil, vehicle_class: nil, vehicle_identification_number: nil) ⇒ Vehicle
Returns a new instance of Vehicle.
753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 |
# File 'lib/stripe/params/payment_intent_update_params.rb', line 753 def initialize( make: nil, model: nil, odometer: nil, type: nil, vehicle_class: nil, vehicle_identification_number: nil ) @make = make @model = model @odometer = odometer @type = type @vehicle_class = vehicle_class @vehicle_identification_number = vehicle_identification_number end |
Instance Attribute Details
#make ⇒ Object
Make of the rental vehicle.
741 742 743 |
# File 'lib/stripe/params/payment_intent_update_params.rb', line 741 def make @make end |
#model ⇒ Object
Model of the rental vehicle.
743 744 745 |
# File 'lib/stripe/params/payment_intent_update_params.rb', line 743 def model @model end |
#odometer ⇒ Object
Odometer reading at the time of rental.
745 746 747 |
# File 'lib/stripe/params/payment_intent_update_params.rb', line 745 def odometer @odometer end |
#type ⇒ Object
Type of the rental vehicle.
747 748 749 |
# File 'lib/stripe/params/payment_intent_update_params.rb', line 747 def type @type end |
#vehicle_class ⇒ Object
Class of the rental vehicle.
749 750 751 |
# File 'lib/stripe/params/payment_intent_update_params.rb', line 749 def vehicle_class @vehicle_class end |
#vehicle_identification_number ⇒ Object
Vehicle identification number (VIN).
751 752 753 |
# File 'lib/stripe/params/payment_intent_update_params.rb', line 751 def vehicle_identification_number @vehicle_identification_number end |