Class Session.Permissions
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- Session
-
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
Determines which entity is allowed to update the shipping details.int
hashCode()
void
setUpdateShippingDetails
(String updateShippingDetails) Determines which entity is allowed to update the shipping details.Methods inherited from class com.stripe.model.StripeObject
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.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.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.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.One of
client_only
, orserver_only
. -
equals
-
canEqual
-
hashCode
public int hashCode()
-