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

RecurlyClient.Types.UniqueCouponCode

Description

Contains the types generated from the schema UniqueCouponCode

Synopsis

Documentation

data UniqueCouponCode Source #

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

A unique coupon code for a bulk coupon.

Constructors

UniqueCouponCode 

Fields

mkUniqueCouponCode :: UniqueCouponCode Source #

Create a new UniqueCouponCode with all required fields.

data UniqueCouponCodeState Source #

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

Indicates if the unique coupon code is redeemable or why not.

Constructors

UniqueCouponCodeStateOther Value

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

UniqueCouponCodeStateTyped Text

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

UniqueCouponCodeStateEnumExpired

Represents the JSON value "expired"

UniqueCouponCodeStateEnumInactive

Represents the JSON value "inactive"

UniqueCouponCodeStateEnumMaxed_out

Represents the JSON value "maxed_out"

UniqueCouponCodeStateEnumRedeemable

Represents the JSON value "redeemable"