Packages
Complete Stripe SDK for Elixir with parity to the official Ruby SDK. V1+V2 coverage (193 services, 320 resource structs, 525 documented params). Per-event modules, Finch HTTP/2, RustyJSON, automatic retries, OAuth, webhooks, telemetry, per-client config, streaming pagination.
Current section
Files
Jump to
Current section
Files
lib/stripe/resources/permissions.ex
# File generated from our OpenAPI spec
defmodule Stripe.Resources.Permissions do
@moduledoc """
PaymentPagesCheckoutSessionPermissions
"""
@typedoc """
* `update_shipping_details` - 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. Possible values: `client_only`, `server_only`. Nullable.
"""
@type t :: %__MODULE__{
update_shipping_details: String.t()
}
defstruct [:update_shipping_details]
@object_name "payment_pages_checkout_session_permissions"
def object_name, do: @object_name
end