Class RequestedSessionCreateParams.PaymentMethodData.BillingDetails.Builder
java.lang.Object
com.stripe.param.delegatedcheckout.RequestedSessionCreateParams.PaymentMethodData.BillingDetails.Builder
- Enclosing class:
- RequestedSessionCreateParams.PaymentMethodData.BillingDetails
public static class RequestedSessionCreateParams.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.The email for the billing details.The name 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 RequestedSessionCreateParams.PaymentMethodData.BillingDetails.Builder setAddress(RequestedSessionCreateParams.PaymentMethodData.BillingDetails.Address address) The address for the billing details. -
setEmail
The email for the billing details. -
putExtraParam
public RequestedSessionCreateParams.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. SeeRequestedSessionCreateParams.PaymentMethodData.BillingDetails.extraParamsfor the field documentation. -
putAllExtraParam
public RequestedSessionCreateParams.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. SeeRequestedSessionCreateParams.PaymentMethodData.BillingDetails.extraParamsfor the field documentation. -
setName
The name for the billing details. -
setPhone
The phone for the billing details.
-