Package com.stripe.param
Class PaymentIntentCaptureParams.PaymentDetails.CarRentalData.Driver.DateOfBirth.Builder
java.lang.Object
com.stripe.param.PaymentIntentCaptureParams.PaymentDetails.CarRentalData.Driver.DateOfBirth.Builder
public static class PaymentIntentCaptureParams.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 PaymentIntentCaptureParams.PaymentDetails.CarRentalData.Driver.DateOfBirth.Builder setDay(Long day) Required. Day of birth (1-31). -
putExtraParam
public PaymentIntentCaptureParams.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. SeePaymentIntentCaptureParams.PaymentDetails.CarRentalData.Driver.DateOfBirth.extraParamsfor the field documentation. -
putAllExtraParam
public PaymentIntentCaptureParams.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. SeePaymentIntentCaptureParams.PaymentDetails.CarRentalData.Driver.DateOfBirth.extraParamsfor the field documentation. -
setMonth
public PaymentIntentCaptureParams.PaymentDetails.CarRentalData.Driver.DateOfBirth.Builder setMonth(Long month) Required. Month of birth (1-12). -
setYear
public PaymentIntentCaptureParams.PaymentDetails.CarRentalData.Driver.DateOfBirth.Builder setYear(Long year)
-