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

RecurlyClient.Types.MeasuredUnit

Description

Contains the types generated from the schema MeasuredUnit

Synopsis

Documentation

data MeasuredUnit Source #

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

Constructors

MeasuredUnit 

Fields

mkMeasuredUnit :: MeasuredUnit Source #

Create a new MeasuredUnit with all required fields.

data MeasuredUnitState Source #

Defines the enum schema located at components.schemas.MeasuredUnit.properties.state in the specification.

The current state of the measured unit.

Constructors

MeasuredUnitStateOther Value

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

MeasuredUnitStateTyped Text

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

MeasuredUnitStateEnumActive

Represents the JSON value "active"

MeasuredUnitStateEnumInactive

Represents the JSON value "inactive"