stripeapi-1.0.0.0: Stripe-Library
Safe HaskellNone
LanguageHaskell2010

StripeAPI.Types.PortalSubscriptionCancel

Description

Contains the types generated from the schema PortalSubscriptionCancel

Synopsis

Documentation

data PortalSubscriptionCancel Source #

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

Constructors

PortalSubscriptionCancel 

Fields

data PortalSubscriptionCancelMode' Source #

Defines the enum schema located at components.schemas.portal_subscription_cancel.properties.mode in the specification.

Whether to cancel subscriptions immediately or at the end of the billing period.

Constructors

PortalSubscriptionCancelMode'Other Value

This case is used if the value encountered during decoding does not match any of the provided cases in the specification.

PortalSubscriptionCancelMode'Typed Text

This constructor can be used to send values to the server which are not present in the specification yet.

PortalSubscriptionCancelMode'EnumAtPeriodEnd

Represents the JSON value "at_period_end"

PortalSubscriptionCancelMode'EnumImmediately

Represents the JSON value "immediately"

data PortalSubscriptionCancelProrationBehavior' Source #

Defines the enum schema located at components.schemas.portal_subscription_cancel.properties.proration_behavior in the specification.

Whether to create prorations when canceling subscriptions. Possible values are `none` and `create_prorations`.

Constructors

PortalSubscriptionCancelProrationBehavior'Other Value

This case is used if the value encountered during decoding does not match any of the provided cases in the specification.

PortalSubscriptionCancelProrationBehavior'Typed Text

This constructor can be used to send values to the server which are not present in the specification yet.

PortalSubscriptionCancelProrationBehavior'EnumAlwaysInvoice

Represents the JSON value "always_invoice"

PortalSubscriptionCancelProrationBehavior'EnumCreateProrations

Represents the JSON value "create_prorations"

PortalSubscriptionCancelProrationBehavior'EnumNone

Represents the JSON value "none"