Package com.stripe.param.checkout
Class SessionCreateParams.CustomerUpdate.Builder
java.lang.Object
com.stripe.param.checkout.SessionCreateParams.CustomerUpdate.Builder
- Enclosing class:
- SessionCreateParams.CustomerUpdate
-
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.Describes whether Checkout saves the billing address ontocustomer.address
.Describes whether Checkout saves the name ontocustomer.name
.Describes whether Checkout saves shipping information ontocustomer.shipping
.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
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
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
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
.
-