View Source ExOAPI.Stripe.Schemas.PortalSubscriptionUpdate (exoapi_stripe v0.1.4)

::default_allowed_updates :: :string

:enabled :: :boolean

Whether the feature is enabled.

::products :: ExOAPI.Stripe.Schemas.PortalSubscriptionUpdateProduct

:proration_behavior :: :string

Determines how to handle prorations resulting from subscription updates. Valid values are none, create_prorations, and always_invoice.

Link to this section Summary

Link to this section Types

@type params() :: map()
@type t() :: %ExOAPI.Stripe.Schemas.PortalSubscriptionUpdate{
  default_allowed_updates: [String.t()] | nil,
  enabled: boolean() | nil,
  products: [ExOAPI.Stripe.Schemas.PortalSubscriptionUpdateProduct.t()],
  proration_behavior: (:none | :create_prorations | :always_invoice) | nil
}

Link to this section Functions

Link to this function

changeset(struct \\ %__MODULE__{}, params)

View Source
@spec changeset(t(), params()) :: Ecto.Changeset.t()