Package com.stripe.param
Class ChargeUpdateParams.PaymentDetails.CarRentalData.Vehicle.Builder
java.lang.Object
com.stripe.param.ChargeUpdateParams.PaymentDetails.CarRentalData.Vehicle.Builder
- Enclosing class:
- ChargeUpdateParams.PaymentDetails.CarRentalData.Vehicle
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Finalize and obtain parameter instance from this builder.putAllExtraParam(Map<String, Object> map) Add all map key/value pairs to `extraParams` map.putExtraParam(String key, Object value) Add a key/value pair to `extraParams` map.setMake(EmptyParam make) Make of the rental vehicle.Make of the rental vehicle.setModel(EmptyParam model) Model of the rental vehicle.Model of the rental vehicle.setOdometer(Long odometer) Odometer reading at the time of rental.Type of the rental vehicle.Class of the rental vehicle.setVehicleIdentificationNumber(EmptyParam vehicleIdentificationNumber) setVehicleIdentificationNumber(String vehicleIdentificationNumber) Vehicle identification number (VIN).
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
putExtraParam
public ChargeUpdateParams.PaymentDetails.CarRentalData.Vehicle.Builder putExtraParam(String key, Object value) Add a key/value pair to `extraParams` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeeChargeUpdateParams.PaymentDetails.CarRentalData.Vehicle.extraParamsfor the field documentation. -
putAllExtraParam
public ChargeUpdateParams.PaymentDetails.CarRentalData.Vehicle.Builder putAllExtraParam(Map<String, Object> map) Add all map key/value pairs to `extraParams` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeeChargeUpdateParams.PaymentDetails.CarRentalData.Vehicle.extraParamsfor the field documentation. -
setMake
Make of the rental vehicle. -
setMake
Make of the rental vehicle. -
setModel
Model of the rental vehicle. -
setModel
Model of the rental vehicle. -
setOdometer
Odometer reading at the time of rental. -
setType
public ChargeUpdateParams.PaymentDetails.CarRentalData.Vehicle.Builder setType(ChargeUpdateParams.PaymentDetails.CarRentalData.Vehicle.Type type) Type of the rental vehicle. -
setVehicleClass
public ChargeUpdateParams.PaymentDetails.CarRentalData.Vehicle.Builder setVehicleClass(ChargeUpdateParams.PaymentDetails.CarRentalData.Vehicle.VehicleClass vehicleClass) Class of the rental vehicle. -
setVehicleIdentificationNumber
public ChargeUpdateParams.PaymentDetails.CarRentalData.Vehicle.Builder setVehicleIdentificationNumber(String vehicleIdentificationNumber) Vehicle identification number (VIN). -
setVehicleIdentificationNumber
public ChargeUpdateParams.PaymentDetails.CarRentalData.Vehicle.Builder setVehicleIdentificationNumber(EmptyParam vehicleIdentificationNumber)
-