Package com.stripe.param
Class SetupIntentConfirmParams.PaymentMethodData.BillingDetails.Builder
java.lang.Object
com.stripe.param.SetupIntentConfirmParams.PaymentMethodData.BillingDetails.Builder
- Enclosing class:
- SetupIntentConfirmParams.PaymentMethodData.BillingDetails
public static class SetupIntentConfirmParams.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 SetupIntentConfirmParams.PaymentMethodData.BillingDetails.Builder setAddress(SetupIntentConfirmParams.PaymentMethodData.BillingDetails.Address address) Billing address. -
setAddress
public SetupIntentConfirmParams.PaymentMethodData.BillingDetails.Builder setAddress(EmptyParam address) Billing address. -
setEmail
Email address. -
setEmail
Email address. -
putExtraParam
public SetupIntentConfirmParams.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. SeeSetupIntentConfirmParams.PaymentMethodData.BillingDetails.extraParams
for the field documentation. -
putAllExtraParam
public SetupIntentConfirmParams.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. SeeSetupIntentConfirmParams.PaymentMethodData.BillingDetails.extraParams
for the field documentation. -
setName
Full name. -
setName
Full name. -
setPhone
Billing phone number (including extension). -
setPhone
Billing phone number (including extension).
-