Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
RecurlyClient.Types.AccountCreate
Description
Contains the types generated from the schema AccountCreate
Synopsis
- data AccountCreate = AccountCreate {
- accountCreateAcquisition :: Maybe AccountAcquisitionUpdate
- accountCreateAddress :: Maybe Address
- accountCreateBill_to :: Maybe AccountCreateBill_to
- accountCreateBilling_info :: Maybe BillingInfoCreate
- accountCreateCc_emails :: Maybe Text
- accountCreateCode :: Text
- accountCreateCompany :: Maybe Text
- accountCreateCustom_fields :: Maybe CustomFields
- accountCreateDunning_campaign_id :: Maybe Text
- accountCreateEmail :: Maybe Text
- accountCreateEntity_use_code :: Maybe Text
- accountCreateExemption_certificate :: Maybe Text
- accountCreateExternal_accounts :: Maybe [ExternalAccountCreate]
- accountCreateFirst_name :: Maybe Text
- accountCreateInvoice_template_id :: Maybe Text
- accountCreateLast_name :: Maybe Text
- accountCreateOverride_business_entity_id :: Maybe Text
- accountCreateParent_account_code :: Maybe Text
- accountCreateParent_account_id :: Maybe Text
- accountCreatePreferred_locale :: Maybe AccountCreatePreferred_locale
- accountCreatePreferred_time_zone :: Maybe Text
- accountCreateShipping_addresses :: Maybe [ShippingAddressCreate]
- accountCreateTax_exempt :: Maybe Bool
- accountCreateTransaction_type :: Maybe AccountCreateTransaction_type
- accountCreateUsername :: Maybe Text
- accountCreateVat_number :: Maybe Text
- mkAccountCreate :: Text -> AccountCreate
- data AccountCreateBill_to
- data AccountCreatePreferred_locale
- = AccountCreatePreferred_localeOther Value
- | AccountCreatePreferred_localeTyped Text
- | AccountCreatePreferred_localeEnumDa_DK
- | AccountCreatePreferred_localeEnumDe_CH
- | AccountCreatePreferred_localeEnumDe_DE
- | AccountCreatePreferred_localeEnumEn_AU
- | AccountCreatePreferred_localeEnumEn_CA
- | AccountCreatePreferred_localeEnumEn_GB
- | AccountCreatePreferred_localeEnumEn_IE
- | AccountCreatePreferred_localeEnumEn_NZ
- | AccountCreatePreferred_localeEnumEn_US
- | AccountCreatePreferred_localeEnumEs_ES
- | AccountCreatePreferred_localeEnumEs_MX
- | AccountCreatePreferred_localeEnumEs_US
- | AccountCreatePreferred_localeEnumFi_FI
- | AccountCreatePreferred_localeEnumFr_BE
- | AccountCreatePreferred_localeEnumFr_CA
- | AccountCreatePreferred_localeEnumFr_CH
- | AccountCreatePreferred_localeEnumFr_FR
- | AccountCreatePreferred_localeEnumHi_IN
- | AccountCreatePreferred_localeEnumIt_IT
- | AccountCreatePreferred_localeEnumJa_JP
- | AccountCreatePreferred_localeEnumKo_KR
- | AccountCreatePreferred_localeEnumNl_BE
- | AccountCreatePreferred_localeEnumNl_NL
- | AccountCreatePreferred_localeEnumPl_PL
- | AccountCreatePreferred_localeEnumPt_BR
- | AccountCreatePreferred_localeEnumPt_PT
- | AccountCreatePreferred_localeEnumRo_RO
- | AccountCreatePreferred_localeEnumRu_RU
- | AccountCreatePreferred_localeEnumSk_SK
- | AccountCreatePreferred_localeEnumSv_SE
- | AccountCreatePreferred_localeEnumTr_TR
- | AccountCreatePreferred_localeEnumZh_CN
- data AccountCreateTransaction_type
Documentation
data AccountCreate Source #
Defines the object schema located at components.schemas.AccountCreate.allOf
in the specification.
Constructors
AccountCreate | |
Fields
|
Instances
FromJSON AccountCreate Source # | |
Defined in RecurlyClient.Types.AccountCreate Methods parseJSON :: Value -> Parser AccountCreate # parseJSONList :: Value -> Parser [AccountCreate] # | |
ToJSON AccountCreate Source # | |
Defined in RecurlyClient.Types.AccountCreate Methods toJSON :: AccountCreate -> Value # toEncoding :: AccountCreate -> Encoding # toJSONList :: [AccountCreate] -> Value # toEncodingList :: [AccountCreate] -> Encoding # | |
Show AccountCreate Source # | |
Defined in RecurlyClient.Types.AccountCreate Methods showsPrec :: Int -> AccountCreate -> ShowS # show :: AccountCreate -> String # showList :: [AccountCreate] -> ShowS # | |
Eq AccountCreate Source # | |
Defined in RecurlyClient.Types.AccountCreate Methods (==) :: AccountCreate -> AccountCreate -> Bool # (/=) :: AccountCreate -> AccountCreate -> Bool # |
Arguments
:: Text | |
-> AccountCreate |
Create a new AccountCreate
with all required fields.
data AccountCreateBill_to Source #
Defines the enum schema located at components.schemas.AccountCreate.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
AccountCreateBill_toOther Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
AccountCreateBill_toTyped Text | This constructor can be used to send values to the server which are not present in the specification yet. |
AccountCreateBill_toEnumParent | Represents the JSON value |
AccountCreateBill_toEnumSelf | Represents the JSON value |
Instances
FromJSON AccountCreateBill_to Source # | |
Defined in RecurlyClient.Types.AccountCreate Methods parseJSON :: Value -> Parser AccountCreateBill_to # parseJSONList :: Value -> Parser [AccountCreateBill_to] # | |
ToJSON AccountCreateBill_to Source # | |
Defined in RecurlyClient.Types.AccountCreate Methods toJSON :: AccountCreateBill_to -> Value # toEncoding :: AccountCreateBill_to -> Encoding # toJSONList :: [AccountCreateBill_to] -> Value # toEncodingList :: [AccountCreateBill_to] -> Encoding # | |
Show AccountCreateBill_to Source # | |
Defined in RecurlyClient.Types.AccountCreate Methods showsPrec :: Int -> AccountCreateBill_to -> ShowS # show :: AccountCreateBill_to -> String # showList :: [AccountCreateBill_to] -> ShowS # | |
Eq AccountCreateBill_to Source # | |
Defined in RecurlyClient.Types.AccountCreate Methods (==) :: AccountCreateBill_to -> AccountCreateBill_to -> Bool # (/=) :: AccountCreateBill_to -> AccountCreateBill_to -> Bool # |
data AccountCreatePreferred_locale Source #
Defines the enum schema located at components.schemas.AccountCreate.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. The list of locales is restricted to those the merchant has enabled on the site.
Constructors
Instances
FromJSON AccountCreatePreferred_locale Source # | |
Defined in RecurlyClient.Types.AccountCreate Methods parseJSON :: Value -> Parser AccountCreatePreferred_locale # parseJSONList :: Value -> Parser [AccountCreatePreferred_locale] # | |
ToJSON AccountCreatePreferred_locale Source # | |
Defined in RecurlyClient.Types.AccountCreate Methods toJSON :: AccountCreatePreferred_locale -> Value # toEncoding :: AccountCreatePreferred_locale -> Encoding # toJSONList :: [AccountCreatePreferred_locale] -> Value # toEncodingList :: [AccountCreatePreferred_locale] -> Encoding # | |
Show AccountCreatePreferred_locale Source # | |
Defined in RecurlyClient.Types.AccountCreate Methods showsPrec :: Int -> AccountCreatePreferred_locale -> ShowS # show :: AccountCreatePreferred_locale -> String # showList :: [AccountCreatePreferred_locale] -> ShowS # | |
Eq AccountCreatePreferred_locale Source # | |
Defined in RecurlyClient.Types.AccountCreate |
data AccountCreateTransaction_type Source #
Defines the enum schema located at components.schemas.AccountCreate.allOf.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
AccountCreateTransaction_typeOther Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
AccountCreateTransaction_typeTyped Text | This constructor can be used to send values to the server which are not present in the specification yet. |
AccountCreateTransaction_typeEnumMoto | Represents the JSON value |
Instances
FromJSON AccountCreateTransaction_type Source # | |
Defined in RecurlyClient.Types.AccountCreate Methods parseJSON :: Value -> Parser AccountCreateTransaction_type # parseJSONList :: Value -> Parser [AccountCreateTransaction_type] # | |
ToJSON AccountCreateTransaction_type Source # | |
Defined in RecurlyClient.Types.AccountCreate Methods toJSON :: AccountCreateTransaction_type -> Value # toEncoding :: AccountCreateTransaction_type -> Encoding # toJSONList :: [AccountCreateTransaction_type] -> Value # toEncodingList :: [AccountCreateTransaction_type] -> Encoding # | |
Show AccountCreateTransaction_type Source # | |
Defined in RecurlyClient.Types.AccountCreate Methods showsPrec :: Int -> AccountCreateTransaction_type -> ShowS # show :: AccountCreateTransaction_type -> String # showList :: [AccountCreateTransaction_type] -> ShowS # | |
Eq AccountCreateTransaction_type Source # | |
Defined in RecurlyClient.Types.AccountCreate |