Class PaymentIntent.PaymentDetails.CarRentalDatum.Vehicle

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.PaymentIntent.PaymentDetails.CarRentalDatum.Vehicle
All Implemented Interfaces:
StripeObjectInterface
Enclosing class:
PaymentIntent.PaymentDetails.CarRentalDatum

public static class PaymentIntent.PaymentDetails.CarRentalDatum.Vehicle extends StripeObject
For more details about Vehicle, please refer to the API Reference.
  • Constructor Details

    • Vehicle

      public Vehicle()
  • Method Details

    • getMake

      public String getMake()
      Make of the vehicle.
    • getModel

      public String getModel()
      Model of the vehicle.
    • getOdometer

      public Long getOdometer()
      Odometer reading.
    • getType

      public String getType()
      Type of the vehicle.

      One of cargo_van, compact, economy, exotic, exotic_suv, fifteen_passenger_van, four_wheel_drive, full_size, intermediate, large_suv, large_truck, luxury, medium_suv, midsize, mini, minivan, miscellaneous, moped, moving_van, premium, regular, small_medium_truck, small_suv, special, standard, stretch, subcompact, taxi, twelve_foot_truck, twelve_passenger_van, twenty_foot_truck, twenty_four_foot_truck, twenty_six_foot_truck, or unique.

    • getVehicleClass

      public String getVehicleClass()
      Class of the vehicle.

      One of business, economy, first_class, or premium_economy.

    • getVehicleIdentificationNumber

      public String getVehicleIdentificationNumber()
      Vehicle identification number.
    • setMake

      public void setMake(String make)
      Make of the vehicle.
    • setModel

      public void setModel(String model)
      Model of the vehicle.
    • setOdometer

      public void setOdometer(Long odometer)
      Odometer reading.
    • setType

      public void setType(String type)
      Type of the vehicle.

      One of cargo_van, compact, economy, exotic, exotic_suv, fifteen_passenger_van, four_wheel_drive, full_size, intermediate, large_suv, large_truck, luxury, medium_suv, midsize, mini, minivan, miscellaneous, moped, moving_van, premium, regular, small_medium_truck, small_suv, special, standard, stretch, subcompact, taxi, twelve_foot_truck, twelve_passenger_van, twenty_foot_truck, twenty_four_foot_truck, twenty_six_foot_truck, or unique.

    • setVehicleClass

      public void setVehicleClass(String vehicleClass)
      Class of the vehicle.

      One of business, economy, first_class, or premium_economy.

    • setVehicleIdentificationNumber

      public void setVehicleIdentificationNumber(String vehicleIdentificationNumber)
      Vehicle identification number.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object