Class: Stripe::PaymentIntentCaptureParams::PaymentDetails::CarRentalDatum::Vehicle
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentIntentCaptureParams::PaymentDetails::CarRentalDatum::Vehicle
- Defined in:
- lib/stripe/params/payment_intent_capture_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.
709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 |
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 709 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.
697 698 699 |
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 697 def make @make end |
#model ⇒ Object
Model of the rental vehicle.
699 700 701 |
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 699 def model @model end |
#odometer ⇒ Object
Odometer reading at the time of rental.
701 702 703 |
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 701 def odometer @odometer end |
#type ⇒ Object
Type of the rental vehicle.
703 704 705 |
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 703 def type @type end |
#vehicle_class ⇒ Object
Class of the rental vehicle.
705 706 707 |
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 705 def vehicle_class @vehicle_class end |
#vehicle_identification_number ⇒ Object
Vehicle identification number (VIN).
707 708 709 |
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 707 def vehicle_identification_number @vehicle_identification_number end |