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

RecurlyClient.Types.CouponRedemption

Description

Contains the types generated from the schema CouponRedemption

Synopsis

Documentation

data CouponRedemption Source #

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

Constructors

CouponRedemption 

Fields

mkCouponRedemption :: CouponRedemption Source #

Create a new CouponRedemption with all required fields.

data CouponRedemptionState Source #

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

Constructors

CouponRedemptionStateOther Value

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

CouponRedemptionStateTyped Text

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

CouponRedemptionStateEnumActive

Represents the JSON value "active"

CouponRedemptionStateEnumInactive

Represents the JSON value "inactive"