HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

Modulestripeapi-3.0.0.0Haskell2010

StripeAPI.Types.SubscriptionSchedule

Contains the types generated from the schema SubscriptionSchedule

  • 8 types
  • 2 values
  • Packagestripeapi-3.0.0.0
  • Exports10
  • LanguageHaskell2010
  • LicenceMIT
  • SourceSubscriptionSchedule.hs
datadata SubscriptionSchedule
#

Defines the object schema located at components.schemas.subscription_schedule in the specification.

A subscription schedule allows you to create and manage the lifecycle of a subscription by predefining expected changes.

Related guide: Subscription Schedules.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Create a new SubscriptionSchedule with all required fields.

Defines the oneOf schema located at components.schemas.subscription_schedule.properties.application.anyOf in the specification.

ID of the Connect Application that created the schedule.

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at components.schemas.subscription_schedule.properties.current_phase.anyOf in the specification.

Object representing the start and end dates for the current phase of the subscription schedule, if it is \`active\`.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the oneOf schema located at components.schemas.subscription_schedule.properties.customer.anyOf in the specification.

ID of the customer who owns the subscription schedule.

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.subscription_schedule.properties.end_behavior in the specification.

Behavior of the subscription schedule and underlying subscription when it ends. Possible values are `release` and `cancel`.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.subscription_schedule.properties.status in the specification.

The present status of the subscription schedule. Possible values are `not_started`, `active`, `completed`, `released`, and `canceled`. You can read more about the different states in our behavior guide.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the oneOf schema located at components.schemas.subscription_schedule.properties.subscription.anyOf in the specification.

ID of the subscription managed by the subscription schedule.

Instances4Eq, Show, FromJSON, ToJSON

Defines the oneOf schema located at components.schemas.subscription_schedule.properties.test_clock.anyOf in the specification.

ID of the test clock this subscription schedule belongs to.

Instances4Eq, Show, FromJSON, ToJSON