stripeapi-2.0.0.1: Stripe-Library
Safe HaskellNone
LanguageHaskell2010

StripeAPI.Types.PortalSubscriptionUpdate

Description

Contains the types generated from the schema PortalSubscriptionUpdate

Synopsis

Documentation

data PortalSubscriptionUpdate Source #

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

Constructors

PortalSubscriptionUpdate 

Fields

data PortalSubscriptionUpdateDefaultAllowedUpdates' Source #

Defines the enum schema located at components.schemas.portal_subscription_update.properties.default_allowed_updates.items in the specification.

Constructors

PortalSubscriptionUpdateDefaultAllowedUpdates'Other Value

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

PortalSubscriptionUpdateDefaultAllowedUpdates'Typed Text

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

PortalSubscriptionUpdateDefaultAllowedUpdates'EnumPrice

Represents the JSON value "price"

PortalSubscriptionUpdateDefaultAllowedUpdates'EnumPromotionCode

Represents the JSON value "promotion_code"

PortalSubscriptionUpdateDefaultAllowedUpdates'EnumQuantity

Represents the JSON value "quantity"

data PortalSubscriptionUpdateProrationBehavior' Source #

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

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

Constructors

PortalSubscriptionUpdateProrationBehavior'Other Value

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

PortalSubscriptionUpdateProrationBehavior'Typed Text

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

PortalSubscriptionUpdateProrationBehavior'EnumAlwaysInvoice

Represents the JSON value "always_invoice"

PortalSubscriptionUpdateProrationBehavior'EnumCreateProrations

Represents the JSON value "create_prorations"

PortalSubscriptionUpdateProrationBehavior'EnumNone

Represents the JSON value "none"