Package com.stripe.model.checkout
Class Session.Permissions
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.checkout.Session.Permissions
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- Session
For more details about Permissions, please refer to the API Reference.
-
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanDetermines which entity is allowed to update the shipping details.inthashCode()voidsetUpdateShippingDetails(String updateShippingDetails) Determines which entity is allowed to update the shipping details.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
Permissions
public Permissions()
-
-
Method Details
-
getUpdateShippingDetails
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 toserver_only, only your server is allowed to update the shipping details.This parameter is only supported when
ui_mode=elements.One of
client_only, orserver_only. -
setUpdateShippingDetails
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 toserver_only, only your server is allowed to update the shipping details.This parameter is only supported when
ui_mode=elements.One of
client_only, orserver_only. -
equals
-
canEqual
-
hashCode
public int hashCode()
-