Package com.stripe.param
Class ChargeUpdateParams.PaymentDetails.CarRentalData.Driver.Builder
java.lang.Object
com.stripe.param.ChargeUpdateParams.PaymentDetails.CarRentalData.Driver.Builder
- Enclosing class:
- ChargeUpdateParams.PaymentDetails.CarRentalData.Driver
-
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.Driver's date of birth.setDriverIdentificationNumber(EmptyParam driverIdentificationNumber) Driver's identification number.setDriverIdentificationNumber(String driverIdentificationNumber) Driver's identification number.setDriverTaxNumber(EmptyParam driverTaxNumber) Driver's tax number.setDriverTaxNumber(String driverTaxNumber) Driver's tax number.setName(EmptyParam name) Required. Driver's full name.Required. Driver's full name.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setDateOfBirth
public ChargeUpdateParams.PaymentDetails.CarRentalData.Driver.Builder setDateOfBirth(ChargeUpdateParams.PaymentDetails.CarRentalData.Driver.DateOfBirth dateOfBirth) Driver's date of birth. -
setDriverIdentificationNumber
public ChargeUpdateParams.PaymentDetails.CarRentalData.Driver.Builder setDriverIdentificationNumber(String driverIdentificationNumber) Driver's identification number. -
setDriverIdentificationNumber
public ChargeUpdateParams.PaymentDetails.CarRentalData.Driver.Builder setDriverIdentificationNumber(EmptyParam driverIdentificationNumber) Driver's identification number. -
setDriverTaxNumber
public ChargeUpdateParams.PaymentDetails.CarRentalData.Driver.Builder setDriverTaxNumber(String driverTaxNumber) Driver's tax number. -
setDriverTaxNumber
public ChargeUpdateParams.PaymentDetails.CarRentalData.Driver.Builder setDriverTaxNumber(EmptyParam driverTaxNumber) Driver's tax number. -
putExtraParam
public ChargeUpdateParams.PaymentDetails.CarRentalData.Driver.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.Driver.extraParamsfor the field documentation. -
putAllExtraParam
public ChargeUpdateParams.PaymentDetails.CarRentalData.Driver.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.Driver.extraParamsfor the field documentation. -
setName
Required. Driver's full name. -
setName
Required. Driver's full name.
-