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