Class Session.Permissions

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.checkout.Session.Permissions
All Implemented Interfaces:
StripeObjectInterface
Enclosing class:
Session

public static class Session.Permissions extends StripeObject
For more details about Permissions, please refer to the API Reference.
  • Constructor Details

    • Permissions

      public Permissions()
  • Method Details

    • getUpdateShippingDetails

      public String 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 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.

      One of client_only, or server_only.

    • setUpdateShippingDetails

      public void setUpdateShippingDetails(String updateShippingDetails)
      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.

      One of client_only, or server_only.

    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object