Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
RecurlyClient.Types.AccountUpdate
Description
Contains the types generated from the schema AccountUpdate
Synopsis
- data AccountUpdate = AccountUpdate {
- accountUpdateAddress :: Maybe Address
- accountUpdateBill_to :: Maybe AccountUpdateBill_to
- accountUpdateBilling_info :: Maybe BillingInfoCreate
- accountUpdateCc_emails :: Maybe Text
- accountUpdateCompany :: Maybe Text
- accountUpdateCustom_fields :: Maybe CustomFields
- accountUpdateDunning_campaign_id :: Maybe Text
- accountUpdateEmail :: Maybe Text
- accountUpdateEntity_use_code :: Maybe Text
- accountUpdateExemption_certificate :: Maybe Text
- accountUpdateFirst_name :: Maybe Text
- accountUpdateInvoice_template_id :: Maybe Text
- accountUpdateLast_name :: Maybe Text
- accountUpdateOverride_business_entity_id :: Maybe Text
- accountUpdateParent_account_code :: Maybe Text
- accountUpdateParent_account_id :: Maybe Text
- accountUpdatePreferred_locale :: Maybe AccountUpdatePreferred_locale
- accountUpdatePreferred_time_zone :: Maybe Text
- accountUpdateTax_exempt :: Maybe Bool
- accountUpdateTransaction_type :: Maybe AccountUpdateTransaction_type
- accountUpdateUsername :: Maybe Text
- accountUpdateVat_number :: Maybe Text
- mkAccountUpdate :: AccountUpdate
- data AccountUpdateBill_to
- data AccountUpdatePreferred_locale
- = AccountUpdatePreferred_localeOther Value
- | AccountUpdatePreferred_localeTyped Text
- | AccountUpdatePreferred_localeEnumDa_DK
- | AccountUpdatePreferred_localeEnumDe_CH
- | AccountUpdatePreferred_localeEnumDe_DE
- | AccountUpdatePreferred_localeEnumEn_AU
- | AccountUpdatePreferred_localeEnumEn_CA
- | AccountUpdatePreferred_localeEnumEn_GB
- | AccountUpdatePreferred_localeEnumEn_IE
- | AccountUpdatePreferred_localeEnumEn_NZ
- | AccountUpdatePreferred_localeEnumEn_US
- | AccountUpdatePreferred_localeEnumEs_ES
- | AccountUpdatePreferred_localeEnumEs_MX
- | AccountUpdatePreferred_localeEnumEs_US
- | AccountUpdatePreferred_localeEnumFi_FI
- | AccountUpdatePreferred_localeEnumFr_BE
- | AccountUpdatePreferred_localeEnumFr_CA
- | AccountUpdatePreferred_localeEnumFr_CH
- | AccountUpdatePreferred_localeEnumFr_FR
- | AccountUpdatePreferred_localeEnumHi_IN
- | AccountUpdatePreferred_localeEnumIt_IT
- | AccountUpdatePreferred_localeEnumJa_JP
- | AccountUpdatePreferred_localeEnumKo_KR
- | AccountUpdatePreferred_localeEnumNl_BE
- | AccountUpdatePreferred_localeEnumNl_NL
- | AccountUpdatePreferred_localeEnumPl_PL
- | AccountUpdatePreferred_localeEnumPt_BR
- | AccountUpdatePreferred_localeEnumPt_PT
- | AccountUpdatePreferred_localeEnumRo_RO
- | AccountUpdatePreferred_localeEnumRu_RU
- | AccountUpdatePreferred_localeEnumSk_SK
- | AccountUpdatePreferred_localeEnumSv_SE
- | AccountUpdatePreferred_localeEnumTr_TR
- | AccountUpdatePreferred_localeEnumZh_CN
- data AccountUpdateTransaction_type
Documentation
data AccountUpdate Source #
Defines the object schema located at components.schemas.AccountUpdate
in the specification.
Constructors
AccountUpdate | |
Fields
|
Instances
FromJSON AccountUpdate Source # | |
Defined in RecurlyClient.Types.AccountUpdate Methods parseJSON :: Value -> Parser AccountUpdate # parseJSONList :: Value -> Parser [AccountUpdate] # | |
ToJSON AccountUpdate Source # | |
Defined in RecurlyClient.Types.AccountUpdate Methods toJSON :: AccountUpdate -> Value # toEncoding :: AccountUpdate -> Encoding # toJSONList :: [AccountUpdate] -> Value # toEncodingList :: [AccountUpdate] -> Encoding # | |
Show AccountUpdate Source # | |
Defined in RecurlyClient.Types.AccountUpdate Methods showsPrec :: Int -> AccountUpdate -> ShowS # show :: AccountUpdate -> String # showList :: [AccountUpdate] -> ShowS # | |
Eq AccountUpdate Source # | |
Defined in RecurlyClient.Types.AccountUpdate Methods (==) :: AccountUpdate -> AccountUpdate -> Bool # (/=) :: AccountUpdate -> AccountUpdate -> Bool # |
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 |
AccountUpdateBill_toEnumSelf | Represents the JSON value |
Instances
FromJSON AccountUpdateBill_to Source # | |
Defined in RecurlyClient.Types.AccountUpdate Methods parseJSON :: Value -> Parser AccountUpdateBill_to # parseJSONList :: Value -> Parser [AccountUpdateBill_to] # | |
ToJSON AccountUpdateBill_to Source # | |
Defined in RecurlyClient.Types.AccountUpdate Methods toJSON :: AccountUpdateBill_to -> Value # toEncoding :: AccountUpdateBill_to -> Encoding # toJSONList :: [AccountUpdateBill_to] -> Value # toEncodingList :: [AccountUpdateBill_to] -> Encoding # | |
Show AccountUpdateBill_to Source # | |
Defined in RecurlyClient.Types.AccountUpdate Methods showsPrec :: Int -> AccountUpdateBill_to -> ShowS # show :: AccountUpdateBill_to -> String # showList :: [AccountUpdateBill_to] -> ShowS # | |
Eq AccountUpdateBill_to Source # | |
Defined in RecurlyClient.Types.AccountUpdate Methods (==) :: AccountUpdateBill_to -> AccountUpdateBill_to -> Bool # (/=) :: AccountUpdateBill_to -> AccountUpdateBill_to -> Bool # |
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
Instances
FromJSON AccountUpdatePreferred_locale Source # | |
Defined in RecurlyClient.Types.AccountUpdate Methods parseJSON :: Value -> Parser AccountUpdatePreferred_locale # parseJSONList :: Value -> Parser [AccountUpdatePreferred_locale] # | |
ToJSON AccountUpdatePreferred_locale Source # | |
Defined in RecurlyClient.Types.AccountUpdate Methods toJSON :: AccountUpdatePreferred_locale -> Value # toEncoding :: AccountUpdatePreferred_locale -> Encoding # toJSONList :: [AccountUpdatePreferred_locale] -> Value # toEncodingList :: [AccountUpdatePreferred_locale] -> Encoding # | |
Show AccountUpdatePreferred_locale Source # | |
Defined in RecurlyClient.Types.AccountUpdate Methods showsPrec :: Int -> AccountUpdatePreferred_locale -> ShowS # show :: AccountUpdatePreferred_locale -> String # showList :: [AccountUpdatePreferred_locale] -> ShowS # | |
Eq AccountUpdatePreferred_locale Source # | |
Defined in RecurlyClient.Types.AccountUpdate |
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 |
Instances
FromJSON AccountUpdateTransaction_type Source # | |
Defined in RecurlyClient.Types.AccountUpdate Methods parseJSON :: Value -> Parser AccountUpdateTransaction_type # parseJSONList :: Value -> Parser [AccountUpdateTransaction_type] # | |
ToJSON AccountUpdateTransaction_type Source # | |
Defined in RecurlyClient.Types.AccountUpdate Methods toJSON :: AccountUpdateTransaction_type -> Value # toEncoding :: AccountUpdateTransaction_type -> Encoding # toJSONList :: [AccountUpdateTransaction_type] -> Value # toEncodingList :: [AccountUpdateTransaction_type] -> Encoding # | |
Show AccountUpdateTransaction_type Source # | |
Defined in RecurlyClient.Types.AccountUpdate Methods showsPrec :: Int -> AccountUpdateTransaction_type -> ShowS # show :: AccountUpdateTransaction_type -> String # showList :: [AccountUpdateTransaction_type] -> ShowS # | |
Eq AccountUpdateTransaction_type Source # | |
Defined in RecurlyClient.Types.AccountUpdate |