recurly-client-0.1.0.0: Client for Recurly subscription management
Safe HaskellSafe-Inferred
LanguageHaskell2010

RecurlyClient.Types.AddOnMini

Description

Contains the types generated from the schema AddOnMini

Synopsis

Documentation

data AddOnMini Source #

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

Just the important parts.

Constructors

AddOnMini 

Fields

mkAddOnMini :: AddOnMini Source #

Create a new AddOnMini with all required fields.

data AddOnMiniAdd_on_type Source #

Defines the enum schema located at components.schemas.AddOnMini.properties.add_on_type in the specification.

Whether the add-on type is fixed, or usage-based.

Constructors

AddOnMiniAdd_on_typeOther Value

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

AddOnMiniAdd_on_typeTyped Text

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

AddOnMiniAdd_on_typeEnumFixed

Represents the JSON value "fixed"

AddOnMiniAdd_on_typeEnumUsage

Represents the JSON value "usage"

data AddOnMiniUsage_type Source #

Defines the enum schema located at components.schemas.AddOnMini.properties.usage_type in the specification.

Type of usage, returns usage type if `add_on_type` is `usage`.

Constructors

AddOnMiniUsage_typeOther Value

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

AddOnMiniUsage_typeTyped Text

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

AddOnMiniUsage_typeEnumPrice

Represents the JSON value "price"

AddOnMiniUsage_typeEnumPercentage

Represents the JSON value "percentage"