Package com.stripe.param
Class PaymentIntentUpdateParams.PaymentDetails.CarRentalData.Vehicle.Builder
java.lang.Object
com.stripe.param.PaymentIntentUpdateParams.PaymentDetails.CarRentalData.Vehicle.Builder
- Enclosing class:
- PaymentIntentUpdateParams.PaymentDetails.CarRentalData.Vehicle
public static class PaymentIntentUpdateParams.PaymentDetails.CarRentalData.Vehicle.Builder
extends Object
-
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.setVehicleClass(PaymentIntentUpdateParams.PaymentDetails.CarRentalData.Vehicle.VehicleClass vehicleClass) 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 PaymentIntentUpdateParams.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. SeePaymentIntentUpdateParams.PaymentDetails.CarRentalData.Vehicle.extraParamsfor the field documentation. -
putAllExtraParam
public PaymentIntentUpdateParams.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. SeePaymentIntentUpdateParams.PaymentDetails.CarRentalData.Vehicle.extraParamsfor the field documentation. -
setMake
Make of the rental vehicle. -
setMake
public PaymentIntentUpdateParams.PaymentDetails.CarRentalData.Vehicle.Builder setMake(EmptyParam make) Make of the rental vehicle. -
setModel
public PaymentIntentUpdateParams.PaymentDetails.CarRentalData.Vehicle.Builder setModel(String model) Model of the rental vehicle. -
setModel
public PaymentIntentUpdateParams.PaymentDetails.CarRentalData.Vehicle.Builder setModel(EmptyParam model) Model of the rental vehicle. -
setOdometer
public PaymentIntentUpdateParams.PaymentDetails.CarRentalData.Vehicle.Builder setOdometer(Long odometer) Odometer reading at the time of rental. -
setType
public PaymentIntentUpdateParams.PaymentDetails.CarRentalData.Vehicle.Builder setType(PaymentIntentUpdateParams.PaymentDetails.CarRentalData.Vehicle.Type type) Type of the rental vehicle. -
setVehicleClass
public PaymentIntentUpdateParams.PaymentDetails.CarRentalData.Vehicle.Builder setVehicleClass(PaymentIntentUpdateParams.PaymentDetails.CarRentalData.Vehicle.VehicleClass vehicleClass) Class of the rental vehicle. -
setVehicleIdentificationNumber
public PaymentIntentUpdateParams.PaymentDetails.CarRentalData.Vehicle.Builder setVehicleIdentificationNumber(String vehicleIdentificationNumber) Vehicle identification number (VIN). -
setVehicleIdentificationNumber
public PaymentIntentUpdateParams.PaymentDetails.CarRentalData.Vehicle.Builder setVehicleIdentificationNumber(EmptyParam vehicleIdentificationNumber)
-