# `Stripe.Resources.BillingPortal.Configuration.Features.SubscriptionUpdate`
[🔗](https://github.com/jeffhuen/tiger_stripe/blob/main/lib/stripe/resources/billing_portal/configuration.ex#L183)

Nested struct within the parent resource.

# `t`

```elixir
@type t() ::
  %Stripe.Resources.BillingPortal.Configuration.Features.SubscriptionUpdate{
    billing_cycle_anchor: String.t() | nil,
    default_allowed_updates: [String.t()] | nil,
    enabled: boolean() | nil,
    products:
      [
        Stripe.Resources.BillingPortal.Configuration.Features.SubscriptionUpdate.Products.t()
      ]
      | nil,
    proration_behavior: String.t() | nil,
    schedule_at_period_end:
      Stripe.Resources.BillingPortal.Configuration.Features.SubscriptionUpdate.ScheduleAtPeriodEnd.t()
      | nil,
    trial_update_behavior: String.t() | nil
  }
```

* `billing_cycle_anchor` - Determines the value to use for the billing cycle anchor on subscription updates. Valid values are `now` or `unchanged`, and the default value is `unchanged`. Setting the value to `now` resets the subscription's billing cycle anchor to the current time (in UTC). For more information, see the billing cycle [documentation](https://docs.stripe.com/billing/subscriptions/billing-cycle). Possible values: `now`, `unchanged`. Nullable.
* `default_allowed_updates` - The types of subscription updates that are supported for items listed in the `products` attribute. When empty, subscriptions are not updateable.
* `enabled` - Whether the feature is enabled.
* `products` - The list of up to 10 products that support subscription updates. Nullable.
* `proration_behavior` - Determines how to handle prorations resulting from subscription updates. Valid values are `none`, `create_prorations`, and `always_invoice`. Defaults to a value of `none` if you don't set it during creation. Possible values: `always_invoice`, `create_prorations`, `none`.
* `schedule_at_period_end`
* `trial_update_behavior` - Determines how handle updates to trialing subscriptions. Valid values are `end_trial` and `continue_trial`. Defaults to a value of `end_trial` if you don't set it during creation. Possible values: `continue_trial`, `end_trial`.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
