Class: Stripe::PaymentIntentConfirmParams::PaymentDetails::CarRentalDatum::Vehicle
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentIntentConfirmParams::PaymentDetails::CarRentalDatum::Vehicle
- Defined in:
- lib/stripe/params/payment_intent_confirm_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
attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h
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.
821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 |
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 821 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.
809 810 811 |
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 809 def make @make end |
#model ⇒ Object
Model of the rental vehicle.
811 812 813 |
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 811 def model @model end |
#odometer ⇒ Object
Odometer reading at the time of rental.
813 814 815 |
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 813 def odometer @odometer end |
#type ⇒ Object
Type of the rental vehicle.
815 816 817 |
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 815 def type @type end |
#vehicle_class ⇒ Object
Class of the rental vehicle.
817 818 819 |
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 817 def vehicle_class @vehicle_class end |
#vehicle_identification_number ⇒ Object
Vehicle identification number (VIN).
819 820 821 |
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 819 def vehicle_identification_number @vehicle_identification_number end |