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

RecurlyClient.Types.Item

Description

Contains the types generated from the schema Item

Synopsis

Documentation

data Item Source #

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

Full item details.

Constructors

Item 

Fields

Instances

Instances details
FromJSON Item Source # 
Instance details

Defined in RecurlyClient.Types.Item

ToJSON Item Source # 
Instance details

Defined in RecurlyClient.Types.Item

Show Item Source # 
Instance details

Defined in RecurlyClient.Types.Item

Methods

showsPrec :: Int -> Item -> ShowS #

show :: Item -> String #

showList :: [Item] -> ShowS #

Eq Item Source # 
Instance details

Defined in RecurlyClient.Types.Item

Methods

(==) :: Item -> Item -> Bool #

(/=) :: Item -> Item -> Bool #

mkItem :: Item Source #

Create a new Item with all required fields.

data ItemRevenue_schedule_type Source #

Defines the enum schema located at components.schemas.Item.properties.revenue_schedule_type in the specification.

Constructors

ItemRevenue_schedule_typeOther Value

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

ItemRevenue_schedule_typeTyped Text

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

ItemRevenue_schedule_typeEnumAt_range_end

Represents the JSON value "at_range_end"

ItemRevenue_schedule_typeEnumAt_range_start

Represents the JSON value "at_range_start"

ItemRevenue_schedule_typeEnumEvenly

Represents the JSON value "evenly"

ItemRevenue_schedule_typeEnumNever

Represents the JSON value "never"

data ItemState Source #

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

The current state of the item.

Constructors

ItemStateOther Value

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

ItemStateTyped Text

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

ItemStateEnumActive

Represents the JSON value "active"

ItemStateEnumInactive

Represents the JSON value "inactive"