Class PaymentIntent.PaymentDetails.CarRentalDatum.Vehicle
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- PaymentIntent.PaymentDetails.CarRentalDatum
-
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleangetMake()Make of the vehicle.getModel()Model of the vehicle.Odometer reading.getType()Type of the vehicle.Class of the vehicle.Vehicle identification number.inthashCode()voidMake of the vehicle.voidModel of the vehicle.voidsetOdometer(Long odometer) Odometer reading.voidType of the vehicle.voidsetVehicleClass(String vehicleClass) Class of the vehicle.voidsetVehicleIdentificationNumber(String vehicleIdentificationNumber) Vehicle identification number.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
Vehicle
public Vehicle()
-
-
Method Details
-
getMake
Make of the vehicle. -
getModel
Model of the vehicle. -
getOdometer
Odometer reading. -
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, orunique. -
getVehicleClass
Class of the vehicle.One of
business,economy,first_class, orpremium_economy. -
getVehicleIdentificationNumber
Vehicle identification number. -
setMake
Make of the vehicle. -
setModel
Model of the vehicle. -
setOdometer
Odometer reading. -
setType
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, orunique. -
setVehicleClass
Class of the vehicle.One of
business,economy,first_class, orpremium_economy. -
setVehicleIdentificationNumber
Vehicle identification number. -
equals
-
canEqual
-
hashCode
public int hashCode()
-