Package com.stripe.param
Class PaymentIntentCreateParams.PaymentDetails.CarRentalData.Driver.DateOfBirth.Builder
java.lang.Object
com.stripe.param.PaymentIntentCreateParams.PaymentDetails.CarRentalData.Driver.DateOfBirth.Builder
public static class PaymentIntentCreateParams.PaymentDetails.CarRentalData.Driver.DateOfBirth.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.Required. Day of birth (1-31).Required. Month of birth (1-12).
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setDay
public PaymentIntentCreateParams.PaymentDetails.CarRentalData.Driver.DateOfBirth.Builder setDay(Long day) Required. Day of birth (1-31). -
putExtraParam
public PaymentIntentCreateParams.PaymentDetails.CarRentalData.Driver.DateOfBirth.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. SeePaymentIntentCreateParams.PaymentDetails.CarRentalData.Driver.DateOfBirth.extraParamsfor the field documentation. -
putAllExtraParam
public PaymentIntentCreateParams.PaymentDetails.CarRentalData.Driver.DateOfBirth.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. SeePaymentIntentCreateParams.PaymentDetails.CarRentalData.Driver.DateOfBirth.extraParamsfor the field documentation. -
setMonth
public PaymentIntentCreateParams.PaymentDetails.CarRentalData.Driver.DateOfBirth.Builder setMonth(Long month) Required. Month of birth (1-12). -
setYear
public PaymentIntentCreateParams.PaymentDetails.CarRentalData.Driver.DateOfBirth.Builder setYear(Long year)
-