Package com.stripe.param.checkout
Class SessionCreateParams.PhoneNumberCollection
java.lang.Object
com.stripe.param.checkout.SessionCreateParams.PhoneNumberCollection
- Enclosing class:
- SessionCreateParams
Determines which entity is allowed to update the shipping details.
Default is client_only
. Stripe Checkout client will automatically update the
shipping details. If set to server_only
, only your server is allowed to update
the shipping details.
When set to server_only
, you must add the onShippingDetailsChange event
handler when initializing the Stripe Checkout client and manually update the shipping
details from your server using the Stripe API.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Required. Set totrue
to enable phone number collection.Map of extra parameters for custom features not available in this client library.
-
Method Details
-
builder
-
getEnabled
Required. Set totrue
to enable phone number collection. -
getExtraParams
Map of extra parameters for custom features not available in this client library. The content in this map is not serialized under this field's@SerializedName
value. Instead, each key/value pair is serialized as if the key is a root-level field (serialized) name in this param object. Effectively, this map is flattened to its parent instance.
-