Package com.stripe.param
Class ConfirmationTokenCreateParams.PaymentMethodData.BillingDetails.Builder
java.lang.Object
com.stripe.param.ConfirmationTokenCreateParams.PaymentMethodData.BillingDetails.Builder
- Enclosing class:
- ConfirmationTokenCreateParams.PaymentMethodData.BillingDetails
public static class ConfirmationTokenCreateParams.PaymentMethodData.BillingDetails.Builder
extends Object
-
Constructor Summary
-
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.setAddress
(EmptyParam address) Billing address.Billing address.setEmail
(EmptyParam email) Email address.Email address.setName
(EmptyParam name) Full name.Full name.setPhone
(EmptyParam phone) Billing phone number (including extension).Billing phone number (including extension).
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setAddress
public ConfirmationTokenCreateParams.PaymentMethodData.BillingDetails.Builder setAddress(ConfirmationTokenCreateParams.PaymentMethodData.BillingDetails.Address address) Billing address. -
setAddress
public ConfirmationTokenCreateParams.PaymentMethodData.BillingDetails.Builder setAddress(EmptyParam address) Billing address. -
setEmail
public ConfirmationTokenCreateParams.PaymentMethodData.BillingDetails.Builder setEmail(String email) Email address. -
setEmail
public ConfirmationTokenCreateParams.PaymentMethodData.BillingDetails.Builder setEmail(EmptyParam email) Email address. -
putExtraParam
public ConfirmationTokenCreateParams.PaymentMethodData.BillingDetails.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. SeeConfirmationTokenCreateParams.PaymentMethodData.BillingDetails.extraParams
for the field documentation. -
putAllExtraParam
public ConfirmationTokenCreateParams.PaymentMethodData.BillingDetails.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. SeeConfirmationTokenCreateParams.PaymentMethodData.BillingDetails.extraParams
for the field documentation. -
setName
Full name. -
setName
public ConfirmationTokenCreateParams.PaymentMethodData.BillingDetails.Builder setName(EmptyParam name) Full name. -
setPhone
public ConfirmationTokenCreateParams.PaymentMethodData.BillingDetails.Builder setPhone(String phone) Billing phone number (including extension). -
setPhone
public ConfirmationTokenCreateParams.PaymentMethodData.BillingDetails.Builder setPhone(EmptyParam phone) Billing phone number (including extension).
-