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