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.
722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 |
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 722 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.
710 711 712 |
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 710 def make @make end |
#model ⇒ Object
Model of the rental vehicle.
712 713 714 |
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 712 def model @model end |
#odometer ⇒ Object
Odometer reading at the time of rental.
714 715 716 |
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 714 def odometer @odometer end |
#type ⇒ Object
Type of the rental vehicle.
716 717 718 |
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 716 def type @type end |
#vehicle_class ⇒ Object
Class of the rental vehicle.
718 719 720 |
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 718 def vehicle_class @vehicle_class end |
#vehicle_identification_number ⇒ Object
Vehicle identification number (VIN).
720 721 722 |
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 720 def vehicle_identification_number @vehicle_identification_number end |