Class RequestedSessionUpdateParams.PaymentMethodData.BillingDetails.Builder
java.lang.Object
com.stripe.param.delegatedcheckout.RequestedSessionUpdateParams.PaymentMethodData.BillingDetails.Builder
- Enclosing class:
- RequestedSessionUpdateParams.PaymentMethodData.BillingDetails
public static class RequestedSessionUpdateParams.PaymentMethodData.BillingDetails.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.The address for the billing details.setEmail(EmptyParam email) The email for the billing details.The email for the billing details.setName(EmptyParam name) The name for the billing details.The name for the billing details.setPhone(EmptyParam phone) The phone for the billing details.The phone for the billing details.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setAddress
public RequestedSessionUpdateParams.PaymentMethodData.BillingDetails.Builder setAddress(RequestedSessionUpdateParams.PaymentMethodData.BillingDetails.Address address) The address for the billing details. -
setEmail
The email for the billing details. -
setEmail
public RequestedSessionUpdateParams.PaymentMethodData.BillingDetails.Builder setEmail(EmptyParam email) The email for the billing details. -
putExtraParam
public RequestedSessionUpdateParams.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. SeeRequestedSessionUpdateParams.PaymentMethodData.BillingDetails.extraParamsfor the field documentation. -
putAllExtraParam
public RequestedSessionUpdateParams.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. SeeRequestedSessionUpdateParams.PaymentMethodData.BillingDetails.extraParamsfor the field documentation. -
setName
The name for the billing details. -
setName
public RequestedSessionUpdateParams.PaymentMethodData.BillingDetails.Builder setName(EmptyParam name) The name for the billing details. -
setPhone
The phone for the billing details. -
setPhone
public RequestedSessionUpdateParams.PaymentMethodData.BillingDetails.Builder setPhone(EmptyParam phone) The phone for the billing details.
-