Package com.stripe.param.checkout
Class SessionCreateParams.CustomerUpdate.Builder
- java.lang.Object
-
- com.stripe.param.checkout.SessionCreateParams.CustomerUpdate.Builder
-
- Enclosing class:
- SessionCreateParams.CustomerUpdate
public static class SessionCreateParams.CustomerUpdate.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SessionCreateParams.CustomerUpdate
build()
Finalize and obtain parameter instance from this builder.SessionCreateParams.CustomerUpdate.Builder
putAllExtraParam(java.util.Map<java.lang.String,java.lang.Object> map)
Add all map key/value pairs to `extraParams` map.SessionCreateParams.CustomerUpdate.Builder
putExtraParam(java.lang.String key, java.lang.Object value)
Add a key/value pair to `extraParams` map.SessionCreateParams.CustomerUpdate.Builder
setAddress(SessionCreateParams.CustomerUpdate.Address address)
Describes whether Checkout saves the billing address ontocustomer.address
.SessionCreateParams.CustomerUpdate.Builder
setName(SessionCreateParams.CustomerUpdate.Name name)
Describes whether Checkout saves the name ontocustomer.name
.SessionCreateParams.CustomerUpdate.Builder
setShipping(SessionCreateParams.CustomerUpdate.Shipping shipping)
Describes whether Checkout saves shipping information ontocustomer.shipping
.
-
-
-
Method Detail
-
build
public SessionCreateParams.CustomerUpdate build()
Finalize and obtain parameter instance from this builder.
-
setAddress
public SessionCreateParams.CustomerUpdate.Builder setAddress(SessionCreateParams.CustomerUpdate.Address address)
Describes whether Checkout saves the billing address ontocustomer.address
. To always collect a full billing address, usebilling_address_collection
. Defaults tonever
.
-
putExtraParam
public SessionCreateParams.CustomerUpdate.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. SeeSessionCreateParams.CustomerUpdate.extraParams
for the field documentation.
-
putAllExtraParam
public SessionCreateParams.CustomerUpdate.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. SeeSessionCreateParams.CustomerUpdate.extraParams
for the field documentation.
-
setName
public SessionCreateParams.CustomerUpdate.Builder setName(SessionCreateParams.CustomerUpdate.Name name)
Describes whether Checkout saves the name ontocustomer.name
. Defaults tonever
.
-
setShipping
public SessionCreateParams.CustomerUpdate.Builder setShipping(SessionCreateParams.CustomerUpdate.Shipping shipping)
Describes whether Checkout saves shipping information ontocustomer.shipping
. To collect shipping information, useshipping_address_collection
. Defaults tonever
.
-
-