Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the types generated from the schema PortalSubscriptionUpdate
Synopsis
- data PortalSubscriptionUpdate = PortalSubscriptionUpdate {}
- mkPortalSubscriptionUpdate :: [PortalSubscriptionUpdateDefaultAllowedUpdates'] -> Bool -> PortalSubscriptionUpdateProrationBehavior' -> PortalSubscriptionUpdate
- data PortalSubscriptionUpdateDefaultAllowedUpdates'
- data PortalSubscriptionUpdateProrationBehavior'
Documentation
data PortalSubscriptionUpdate Source #
Defines the object schema located at components.schemas.portal_subscription_update
in the specification.
PortalSubscriptionUpdate | |
|
Instances
mkPortalSubscriptionUpdate Source #
:: [PortalSubscriptionUpdateDefaultAllowedUpdates'] | |
-> Bool | |
-> PortalSubscriptionUpdateProrationBehavior' | |
-> PortalSubscriptionUpdate |
Create a new PortalSubscriptionUpdate
with all required fields.
data PortalSubscriptionUpdateDefaultAllowedUpdates' Source #
Defines the enum schema located at components.schemas.portal_subscription_update.properties.default_allowed_updates.items
in the specification.
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 |
PortalSubscriptionUpdateDefaultAllowedUpdates'EnumPromotionCode | Represents the JSON value |
PortalSubscriptionUpdateDefaultAllowedUpdates'EnumQuantity | Represents the JSON value |
Instances
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`.
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 |
PortalSubscriptionUpdateProrationBehavior'EnumCreateProrations | Represents the JSON value |
PortalSubscriptionUpdateProrationBehavior'EnumNone | Represents the JSON value |