Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
RecurlyClient.Types.Account
Description
Contains the types generated from the schema Account
Synopsis
- data Account = Account {
- accountAddress :: Maybe Address
- accountBill_to :: Maybe AccountBill_to
- accountBilling_info :: Maybe BillingInfo
- accountCc_emails :: Maybe Text
- accountCode :: Maybe Text
- accountCompany :: Maybe Text
- accountCreated_at :: Maybe JsonDateTime
- accountCustom_fields :: Maybe CustomFields
- accountDeleted_at :: Maybe JsonDateTime
- accountDunning_campaign_id :: Maybe Text
- accountEmail :: Maybe Text
- accountEntity_use_code :: Maybe Text
- accountExemption_certificate :: Maybe Text
- accountExternal_accounts :: Maybe [ExternalAccount]
- accountFirst_name :: Maybe Text
- accountHas_active_subscription :: Maybe Bool
- accountHas_canceled_subscription :: Maybe Bool
- accountHas_future_subscription :: Maybe Bool
- accountHas_live_subscription :: Maybe Bool
- accountHas_past_due_invoice :: Maybe Bool
- accountHas_paused_subscription :: Maybe Bool
- accountHosted_login_token :: Maybe Text
- accountId :: Maybe Text
- accountInvoice_template_id :: Maybe Text
- accountLast_name :: Maybe Text
- accountObject :: Maybe Text
- accountOverride_business_entity_id :: Maybe Text
- accountParent_account_id :: Maybe Text
- accountPreferred_locale :: Maybe AccountPreferred_locale
- accountPreferred_time_zone :: Maybe Text
- accountShipping_addresses :: Maybe [ShippingAddress]
- accountState :: Maybe AccountState
- accountTax_exempt :: Maybe Bool
- accountUpdated_at :: Maybe JsonDateTime
- accountUsername :: Maybe Text
- accountVat_number :: Maybe Text
- mkAccount :: Account
- data AccountBill_to
- data AccountPreferred_locale
- = AccountPreferred_localeOther Value
- | AccountPreferred_localeTyped Text
- | AccountPreferred_localeEnumDa_DK
- | AccountPreferred_localeEnumDe_CH
- | AccountPreferred_localeEnumDe_DE
- | AccountPreferred_localeEnumEn_AU
- | AccountPreferred_localeEnumEn_CA
- | AccountPreferred_localeEnumEn_GB
- | AccountPreferred_localeEnumEn_IE
- | AccountPreferred_localeEnumEn_NZ
- | AccountPreferred_localeEnumEn_US
- | AccountPreferred_localeEnumEs_ES
- | AccountPreferred_localeEnumEs_MX
- | AccountPreferred_localeEnumEs_US
- | AccountPreferred_localeEnumFi_FI
- | AccountPreferred_localeEnumFr_BE
- | AccountPreferred_localeEnumFr_CA
- | AccountPreferred_localeEnumFr_CH
- | AccountPreferred_localeEnumFr_FR
- | AccountPreferred_localeEnumHi_IN
- | AccountPreferred_localeEnumIt_IT
- | AccountPreferred_localeEnumJa_JP
- | AccountPreferred_localeEnumKo_KR
- | AccountPreferred_localeEnumNl_BE
- | AccountPreferred_localeEnumNl_NL
- | AccountPreferred_localeEnumPl_PL
- | AccountPreferred_localeEnumPt_BR
- | AccountPreferred_localeEnumPt_PT
- | AccountPreferred_localeEnumRo_RO
- | AccountPreferred_localeEnumRu_RU
- | AccountPreferred_localeEnumSk_SK
- | AccountPreferred_localeEnumSv_SE
- | AccountPreferred_localeEnumTr_TR
- | AccountPreferred_localeEnumZh_CN
- data AccountState
Documentation
Defines the object schema located at components.schemas.Account.allOf
in the specification.
Constructors
Account | |
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 |
AccountBill_toEnumSelf | Represents the JSON value |
Instances
FromJSON AccountBill_to Source # | |
Defined in RecurlyClient.Types.Account Methods parseJSON :: Value -> Parser AccountBill_to # parseJSONList :: Value -> Parser [AccountBill_to] # | |
ToJSON AccountBill_to Source # | |
Defined in RecurlyClient.Types.Account Methods toJSON :: AccountBill_to -> Value # toEncoding :: AccountBill_to -> Encoding # toJSONList :: [AccountBill_to] -> Value # toEncodingList :: [AccountBill_to] -> Encoding # | |
Show AccountBill_to Source # | |
Defined in RecurlyClient.Types.Account Methods showsPrec :: Int -> AccountBill_to -> ShowS # show :: AccountBill_to -> String # showList :: [AccountBill_to] -> ShowS # | |
Eq AccountBill_to Source # | |
Defined in RecurlyClient.Types.Account Methods (==) :: AccountBill_to -> AccountBill_to -> Bool # (/=) :: AccountBill_to -> AccountBill_to -> Bool # |
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 |
AccountPreferred_localeEnumDe_CH | Represents the JSON value |
AccountPreferred_localeEnumDe_DE | Represents the JSON value |
AccountPreferred_localeEnumEn_AU | Represents the JSON value |
AccountPreferred_localeEnumEn_CA | Represents the JSON value |
AccountPreferred_localeEnumEn_GB | Represents the JSON value |
AccountPreferred_localeEnumEn_IE | Represents the JSON value |
AccountPreferred_localeEnumEn_NZ | Represents the JSON value |
AccountPreferred_localeEnumEn_US | Represents the JSON value |
AccountPreferred_localeEnumEs_ES | Represents the JSON value |
AccountPreferred_localeEnumEs_MX | Represents the JSON value |
AccountPreferred_localeEnumEs_US | Represents the JSON value |
AccountPreferred_localeEnumFi_FI | Represents the JSON value |
AccountPreferred_localeEnumFr_BE | Represents the JSON value |
AccountPreferred_localeEnumFr_CA | Represents the JSON value |
AccountPreferred_localeEnumFr_CH | Represents the JSON value |
AccountPreferred_localeEnumFr_FR | Represents the JSON value |
AccountPreferred_localeEnumHi_IN | Represents the JSON value |
AccountPreferred_localeEnumIt_IT | Represents the JSON value |
AccountPreferred_localeEnumJa_JP | Represents the JSON value |
AccountPreferred_localeEnumKo_KR | Represents the JSON value |
AccountPreferred_localeEnumNl_BE | Represents the JSON value |
AccountPreferred_localeEnumNl_NL | Represents the JSON value |
AccountPreferred_localeEnumPl_PL | Represents the JSON value |
AccountPreferred_localeEnumPt_BR | Represents the JSON value |
AccountPreferred_localeEnumPt_PT | Represents the JSON value |
AccountPreferred_localeEnumRo_RO | Represents the JSON value |
AccountPreferred_localeEnumRu_RU | Represents the JSON value |
AccountPreferred_localeEnumSk_SK | Represents the JSON value |
AccountPreferred_localeEnumSv_SE | Represents the JSON value |
AccountPreferred_localeEnumTr_TR | Represents the JSON value |
AccountPreferred_localeEnumZh_CN | Represents the JSON value |
Instances
FromJSON AccountPreferred_locale Source # | |
Defined in RecurlyClient.Types.Account Methods parseJSON :: Value -> Parser AccountPreferred_locale # parseJSONList :: Value -> Parser [AccountPreferred_locale] # | |
ToJSON AccountPreferred_locale Source # | |
Defined in RecurlyClient.Types.Account Methods toJSON :: AccountPreferred_locale -> Value # toEncoding :: AccountPreferred_locale -> Encoding # toJSONList :: [AccountPreferred_locale] -> Value # | |
Show AccountPreferred_locale Source # | |
Defined in RecurlyClient.Types.Account Methods showsPrec :: Int -> AccountPreferred_locale -> ShowS # show :: AccountPreferred_locale -> String # showList :: [AccountPreferred_locale] -> ShowS # | |
Eq AccountPreferred_locale Source # | |
Defined in RecurlyClient.Types.Account Methods (==) :: AccountPreferred_locale -> AccountPreferred_locale -> Bool # (/=) :: AccountPreferred_locale -> AccountPreferred_locale -> Bool # |
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 |
AccountStateEnumInactive | Represents the JSON value |
Instances
FromJSON AccountState Source # | |
Defined in RecurlyClient.Types.Account | |
ToJSON AccountState Source # | |
Defined in RecurlyClient.Types.Account Methods toJSON :: AccountState -> Value # toEncoding :: AccountState -> Encoding # toJSONList :: [AccountState] -> Value # toEncodingList :: [AccountState] -> Encoding # | |
Show AccountState Source # | |
Defined in RecurlyClient.Types.Account Methods showsPrec :: Int -> AccountState -> ShowS # show :: AccountState -> String # showList :: [AccountState] -> ShowS # | |
Eq AccountState Source # | |
Defined in RecurlyClient.Types.Account |