Class SessionCreateParams.Permissions.Builder

java.lang.Object
com.stripe.param.checkout.SessionCreateParams.Permissions.Builder
Enclosing class:
SessionCreateParams.Permissions

public static class SessionCreateParams.Permissions.Builder extends Object
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • build

      Finalize and obtain parameter instance from this builder.
    • putExtraParam

      public SessionCreateParams.Permissions.Builder putExtraParam(String key, Object value)
      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. See SessionCreateParams.Permissions.extraParams for the field documentation.
    • putAllExtraParam

      public SessionCreateParams.Permissions.Builder putAllExtraParam(Map<String,Object> map)
      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. See SessionCreateParams.Permissions.extraParams for the field documentation.
    • 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 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.