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

RecurlyClient.Types.Account

Description

Contains the types generated from the schema Account

Synopsis

Documentation

data Account Source #

Defines the object schema located at components.schemas.Account.allOf in the specification.

Constructors

Account 

Fields

Instances

Instances details
FromJSON Account Source # 
Instance details

Defined in RecurlyClient.Types.Account

ToJSON Account Source # 
Instance details

Defined in RecurlyClient.Types.Account

Show Account Source # 
Instance details

Defined in RecurlyClient.Types.Account

Eq Account Source # 
Instance details

Defined in RecurlyClient.Types.Account

Methods

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

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

mkAccount :: Account Source #

Create a new Account with all required fields.

data AccountBill_to Source #

Defines the enum schema located at components.schemas.Account.allOf.properties.bill_to in the specification.

An enumerable describing the billing behavior of the account, specifically whether the account is self-paying or will rely on the parent account to pay.

Constructors

AccountBill_toOther Value

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

AccountBill_toTyped Text

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

AccountBill_toEnumParent

Represents the JSON value "parent"

AccountBill_toEnumSelf

Represents the JSON value "self"

data AccountPreferred_locale Source #

Defines the enum schema located at components.schemas.Account.allOf.properties.preferred_locale in the specification.

Used to determine the language and locale of emails sent on behalf of the merchant to the customer.

Constructors

AccountPreferred_localeOther Value

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

AccountPreferred_localeTyped Text

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

AccountPreferred_localeEnumDa_DK

Represents the JSON value "da-DK"

AccountPreferred_localeEnumDe_CH

Represents the JSON value "de-CH"

AccountPreferred_localeEnumDe_DE

Represents the JSON value "de-DE"

AccountPreferred_localeEnumEn_AU

Represents the JSON value "en-AU"

AccountPreferred_localeEnumEn_CA

Represents the JSON value "en-CA"

AccountPreferred_localeEnumEn_GB

Represents the JSON value "en-GB"

AccountPreferred_localeEnumEn_IE

Represents the JSON value "en-IE"

AccountPreferred_localeEnumEn_NZ

Represents the JSON value "en-NZ"

AccountPreferred_localeEnumEn_US

Represents the JSON value "en-US"

AccountPreferred_localeEnumEs_ES

Represents the JSON value "es-ES"

AccountPreferred_localeEnumEs_MX

Represents the JSON value "es-MX"

AccountPreferred_localeEnumEs_US

Represents the JSON value "es-US"

AccountPreferred_localeEnumFi_FI

Represents the JSON value "fi-FI"

AccountPreferred_localeEnumFr_BE

Represents the JSON value "fr-BE"

AccountPreferred_localeEnumFr_CA

Represents the JSON value "fr-CA"

AccountPreferred_localeEnumFr_CH

Represents the JSON value "fr-CH"

AccountPreferred_localeEnumFr_FR

Represents the JSON value "fr-FR"

AccountPreferred_localeEnumHi_IN

Represents the JSON value "hi-IN"

AccountPreferred_localeEnumIt_IT

Represents the JSON value "it-IT"

AccountPreferred_localeEnumJa_JP

Represents the JSON value "ja-JP"

AccountPreferred_localeEnumKo_KR

Represents the JSON value "ko-KR"

AccountPreferred_localeEnumNl_BE

Represents the JSON value "nl-BE"

AccountPreferred_localeEnumNl_NL

Represents the JSON value "nl-NL"

AccountPreferred_localeEnumPl_PL

Represents the JSON value "pl-PL"

AccountPreferred_localeEnumPt_BR

Represents the JSON value "pt-BR"

AccountPreferred_localeEnumPt_PT

Represents the JSON value "pt-PT"

AccountPreferred_localeEnumRo_RO

Represents the JSON value "ro-RO"

AccountPreferred_localeEnumRu_RU

Represents the JSON value "ru-RU"

AccountPreferred_localeEnumSk_SK

Represents the JSON value "sk-SK"

AccountPreferred_localeEnumSv_SE

Represents the JSON value "sv-SE"

AccountPreferred_localeEnumTr_TR

Represents the JSON value "tr-TR"

AccountPreferred_localeEnumZh_CN

Represents the JSON value "zh-CN"

data AccountState Source #

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

Accounts can be either active or inactive.

Constructors

AccountStateOther Value

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

AccountStateTyped Text

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

AccountStateEnumActive

Represents the JSON value "active"

AccountStateEnumInactive

Represents the JSON value "inactive"