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

RecurlyClient.Types.AccountUpdate

Description

Contains the types generated from the schema AccountUpdate

Synopsis

Documentation

data AccountUpdate Source #

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

Constructors

AccountUpdate 

Fields

  • accountUpdateAddress :: Maybe Address

    address

  • accountUpdateBill_to :: Maybe AccountUpdateBill_to

    bill_to: 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.

    Constraints:

    • Maximum length of 6
  • accountUpdateBilling_info :: Maybe BillingInfoCreate

    billing_info

  • accountUpdateCc_emails :: Maybe Text

    cc_emails: Additional email address that should receive account correspondence. These should be separated only by commas. These CC emails will receive all emails that the `email` field also receives.

    Constraints:

    • Maximum length of 255
  • accountUpdateCompany :: Maybe Text

    company

    Constraints:

    • Maximum length of 100
  • accountUpdateCustom_fields :: Maybe CustomFields

    custom_fields: The custom fields will only be altered when they are included in a request. Sending an empty array will not remove any existing values. To remove a field send the name with a null or empty value.

  • accountUpdateDunning_campaign_id :: Maybe Text

    dunning_campaign_id: Unique ID to identify a dunning campaign. Used to specify if a non-default dunning campaign should be assigned to this account. For sites without multiple dunning campaigns enabled, the default dunning campaign will always be used.

  • accountUpdateEmail :: Maybe Text

    email: The email address used for communicating with this customer. The customer will also use this email address to log into your hosted account management pages. This value does not need to be unique.

    Constraints:

    • Maximum length of 255
  • accountUpdateEntity_use_code :: Maybe Text

    entity_use_code: The Avalara AvaTax value that can be passed to identify the customer type for tax purposes. The range of values can be A - R (more info at Avalara). Value is case-sensitive.

  • accountUpdateExemption_certificate :: Maybe Text

    exemption_certificate: The tax exemption certificate number for the account. If the merchant has an integration for the Vertex tax provider, this optional value will be sent in any tax calculation requests for the account.

    Constraints:

    • Maximum length of 30
  • accountUpdateFirst_name :: Maybe Text

    first_name

    Constraints:

    • Maximum length of 255
  • accountUpdateInvoice_template_id :: Maybe Text

    invoice_template_id: Unique ID to identify an invoice template. Available when the site is on a Pro or Elite plan. Used to specify which invoice template, if any, should be used to generate invoices for the account.

  • accountUpdateLast_name :: Maybe Text

    last_name

    Constraints:

    • Maximum length of 255
  • accountUpdateOverride_business_entity_id :: Maybe Text

    override_business_entity_id: Unique ID to identify the business entity assigned to the account. Available when the `Multiple Business Entities` feature is enabled.

  • accountUpdateParent_account_code :: Maybe Text

    parent_account_code: The account code of the parent account to be associated with this account. Passing an empty value removes any existing parent association from this account. If both `parent_account_code` and `parent_account_id` are passed, the non-blank value in `parent_account_id` will be used. Only one level of parent child relationship is allowed. You cannot assign a parent account that itself has a parent account.

    Constraints:

    • Maximum length of 50
  • accountUpdateParent_account_id :: Maybe Text

    parent_account_id: The UUID of the parent account to be associated with this account. Passing an empty value removes any existing parent association from this account. If both `parent_account_code` and `parent_account_id` are passed, the non-blank value in `parent_account_id` will be used. Only one level of parent child relationship is allowed. You cannot assign a parent account that itself has a parent account.

    Constraints:

    • Maximum length of 13
  • accountUpdatePreferred_locale :: Maybe AccountUpdatePreferred_locale

    preferred_locale: Used to determine the language and locale of emails sent on behalf of the merchant to the customer. The list of locales is restricted to those the merchant has enabled on the site.

  • accountUpdatePreferred_time_zone :: Maybe Text

    preferred_time_zone: Used to determine the time zone of emails sent on behalf of the merchant to the customer. Must be a supported IANA time zone name

  • accountUpdateTax_exempt :: Maybe Bool

    tax_exempt: The tax status of the account. `true` exempts tax on the account, `false` applies tax on the account.

  • accountUpdateTransaction_type :: Maybe AccountUpdateTransaction_type

    transaction_type: An optional type designation for the payment gateway transaction created by this request. Supports 'moto' value, which is the acronym for mail order and telephone transactions.

  • accountUpdateUsername :: Maybe Text

    username: A secondary value for the account.

    Constraints:

    • Maximum length of 255
  • accountUpdateVat_number :: Maybe Text

    vat_number: The VAT number of the account (to avoid having the VAT applied). This is only used for manually collected invoices.

    Constraints:

    • Maximum length of 20

mkAccountUpdate :: AccountUpdate Source #

Create a new AccountUpdate with all required fields.

data AccountUpdateBill_to Source #

Defines the enum schema located at components.schemas.AccountUpdate.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

AccountUpdateBill_toOther Value

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

AccountUpdateBill_toTyped Text

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

AccountUpdateBill_toEnumParent

Represents the JSON value "parent"

AccountUpdateBill_toEnumSelf

Represents the JSON value "self"

data AccountUpdatePreferred_locale Source #

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

Used to determine the language and locale of emails sent on behalf of the merchant to the customer. The list of locales is restricted to those the merchant has enabled on the site.

Constructors

AccountUpdatePreferred_localeOther Value

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

AccountUpdatePreferred_localeTyped Text

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

AccountUpdatePreferred_localeEnumDa_DK

Represents the JSON value "da-DK"

AccountUpdatePreferred_localeEnumDe_CH

Represents the JSON value "de-CH"

AccountUpdatePreferred_localeEnumDe_DE

Represents the JSON value "de-DE"

AccountUpdatePreferred_localeEnumEn_AU

Represents the JSON value "en-AU"

AccountUpdatePreferred_localeEnumEn_CA

Represents the JSON value "en-CA"

AccountUpdatePreferred_localeEnumEn_GB

Represents the JSON value "en-GB"

AccountUpdatePreferred_localeEnumEn_IE

Represents the JSON value "en-IE"

AccountUpdatePreferred_localeEnumEn_NZ

Represents the JSON value "en-NZ"

AccountUpdatePreferred_localeEnumEn_US

Represents the JSON value "en-US"

AccountUpdatePreferred_localeEnumEs_ES

Represents the JSON value "es-ES"

AccountUpdatePreferred_localeEnumEs_MX

Represents the JSON value "es-MX"

AccountUpdatePreferred_localeEnumEs_US

Represents the JSON value "es-US"

AccountUpdatePreferred_localeEnumFi_FI

Represents the JSON value "fi-FI"

AccountUpdatePreferred_localeEnumFr_BE

Represents the JSON value "fr-BE"

AccountUpdatePreferred_localeEnumFr_CA

Represents the JSON value "fr-CA"

AccountUpdatePreferred_localeEnumFr_CH

Represents the JSON value "fr-CH"

AccountUpdatePreferred_localeEnumFr_FR

Represents the JSON value "fr-FR"

AccountUpdatePreferred_localeEnumHi_IN

Represents the JSON value "hi-IN"

AccountUpdatePreferred_localeEnumIt_IT

Represents the JSON value "it-IT"

AccountUpdatePreferred_localeEnumJa_JP

Represents the JSON value "ja-JP"

AccountUpdatePreferred_localeEnumKo_KR

Represents the JSON value "ko-KR"

AccountUpdatePreferred_localeEnumNl_BE

Represents the JSON value "nl-BE"

AccountUpdatePreferred_localeEnumNl_NL

Represents the JSON value "nl-NL"

AccountUpdatePreferred_localeEnumPl_PL

Represents the JSON value "pl-PL"

AccountUpdatePreferred_localeEnumPt_BR

Represents the JSON value "pt-BR"

AccountUpdatePreferred_localeEnumPt_PT

Represents the JSON value "pt-PT"

AccountUpdatePreferred_localeEnumRo_RO

Represents the JSON value "ro-RO"

AccountUpdatePreferred_localeEnumRu_RU

Represents the JSON value "ru-RU"

AccountUpdatePreferred_localeEnumSk_SK

Represents the JSON value "sk-SK"

AccountUpdatePreferred_localeEnumSv_SE

Represents the JSON value "sv-SE"

AccountUpdatePreferred_localeEnumTr_TR

Represents the JSON value "tr-TR"

AccountUpdatePreferred_localeEnumZh_CN

Represents the JSON value "zh-CN"

data AccountUpdateTransaction_type Source #

Defines the enum schema located at components.schemas.AccountUpdate.properties.transaction_type in the specification.

An optional type designation for the payment gateway transaction created by this request. Supports 'moto' value, which is the acronym for mail order and telephone transactions.

Constructors

AccountUpdateTransaction_typeOther Value

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

AccountUpdateTransaction_typeTyped Text

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

AccountUpdateTransaction_typeEnumMoto

Represents the JSON value "moto"