Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
RecurlyClient.Types.AccountPurchase
Description
Contains the types generated from the schema AccountPurchase
Synopsis
- data AccountPurchase = AccountPurchase {
- accountPurchaseAcquisition :: Maybe AccountAcquisitionUpdate
- accountPurchaseAddress :: Maybe Address
- accountPurchaseBill_to :: Maybe AccountPurchaseBill_to
- accountPurchaseBilling_info :: Maybe BillingInfoCreate
- accountPurchaseCc_emails :: Maybe Text
- accountPurchaseCode :: Text
- accountPurchaseCompany :: Maybe Text
- accountPurchaseCustom_fields :: Maybe CustomFields
- accountPurchaseDunning_campaign_id :: Maybe Text
- accountPurchaseEmail :: Maybe Text
- accountPurchaseEntity_use_code :: Maybe Text
- accountPurchaseExemption_certificate :: Maybe Text
- accountPurchaseFirst_name :: Maybe Text
- accountPurchaseId :: Maybe Text
- accountPurchaseInvoice_template_id :: Maybe Text
- accountPurchaseLast_name :: Maybe Text
- accountPurchaseOverride_business_entity_id :: Maybe Text
- accountPurchaseParent_account_code :: Maybe Text
- accountPurchaseParent_account_id :: Maybe Text
- accountPurchasePreferred_locale :: Maybe AccountPurchasePreferred_locale
- accountPurchasePreferred_time_zone :: Maybe Text
- accountPurchaseTax_exempt :: Maybe Bool
- accountPurchaseTransaction_type :: Maybe AccountPurchaseTransaction_type
- accountPurchaseUsername :: Maybe Text
- accountPurchaseVat_number :: Maybe Text
- mkAccountPurchase :: Text -> AccountPurchase
- data AccountPurchaseBill_to
- data AccountPurchasePreferred_locale
- = AccountPurchasePreferred_localeOther Value
- | AccountPurchasePreferred_localeTyped Text
- | AccountPurchasePreferred_localeEnumDa_DK
- | AccountPurchasePreferred_localeEnumDe_CH
- | AccountPurchasePreferred_localeEnumDe_DE
- | AccountPurchasePreferred_localeEnumEn_AU
- | AccountPurchasePreferred_localeEnumEn_CA
- | AccountPurchasePreferred_localeEnumEn_GB
- | AccountPurchasePreferred_localeEnumEn_IE
- | AccountPurchasePreferred_localeEnumEn_NZ
- | AccountPurchasePreferred_localeEnumEn_US
- | AccountPurchasePreferred_localeEnumEs_ES
- | AccountPurchasePreferred_localeEnumEs_MX
- | AccountPurchasePreferred_localeEnumEs_US
- | AccountPurchasePreferred_localeEnumFi_FI
- | AccountPurchasePreferred_localeEnumFr_BE
- | AccountPurchasePreferred_localeEnumFr_CA
- | AccountPurchasePreferred_localeEnumFr_CH
- | AccountPurchasePreferred_localeEnumFr_FR
- | AccountPurchasePreferred_localeEnumHi_IN
- | AccountPurchasePreferred_localeEnumIt_IT
- | AccountPurchasePreferred_localeEnumJa_JP
- | AccountPurchasePreferred_localeEnumKo_KR
- | AccountPurchasePreferred_localeEnumNl_BE
- | AccountPurchasePreferred_localeEnumNl_NL
- | AccountPurchasePreferred_localeEnumPl_PL
- | AccountPurchasePreferred_localeEnumPt_BR
- | AccountPurchasePreferred_localeEnumPt_PT
- | AccountPurchasePreferred_localeEnumRo_RO
- | AccountPurchasePreferred_localeEnumRu_RU
- | AccountPurchasePreferred_localeEnumSk_SK
- | AccountPurchasePreferred_localeEnumSv_SE
- | AccountPurchasePreferred_localeEnumTr_TR
- | AccountPurchasePreferred_localeEnumZh_CN
- data AccountPurchaseTransaction_type
Documentation
data AccountPurchase Source #
Defines the object schema located at components.schemas.AccountPurchase.allOf
in the specification.
Constructors
AccountPurchase | |
Fields
|
Instances
FromJSON AccountPurchase Source # | |
Defined in RecurlyClient.Types.AccountPurchase Methods parseJSON :: Value -> Parser AccountPurchase # parseJSONList :: Value -> Parser [AccountPurchase] # | |
ToJSON AccountPurchase Source # | |
Defined in RecurlyClient.Types.AccountPurchase Methods toJSON :: AccountPurchase -> Value # toEncoding :: AccountPurchase -> Encoding # toJSONList :: [AccountPurchase] -> Value # toEncodingList :: [AccountPurchase] -> Encoding # | |
Show AccountPurchase Source # | |
Defined in RecurlyClient.Types.AccountPurchase Methods showsPrec :: Int -> AccountPurchase -> ShowS # show :: AccountPurchase -> String # showList :: [AccountPurchase] -> ShowS # | |
Eq AccountPurchase Source # | |
Defined in RecurlyClient.Types.AccountPurchase Methods (==) :: AccountPurchase -> AccountPurchase -> Bool # (/=) :: AccountPurchase -> AccountPurchase -> Bool # |
Arguments
:: Text | |
-> AccountPurchase |
Create a new AccountPurchase
with all required fields.
data AccountPurchaseBill_to Source #
Defines the enum schema located at components.schemas.AccountPurchase.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
AccountPurchaseBill_toOther Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
AccountPurchaseBill_toTyped Text | This constructor can be used to send values to the server which are not present in the specification yet. |
AccountPurchaseBill_toEnumParent | Represents the JSON value |
AccountPurchaseBill_toEnumSelf | Represents the JSON value |
Instances
FromJSON AccountPurchaseBill_to Source # | |
Defined in RecurlyClient.Types.AccountPurchase Methods parseJSON :: Value -> Parser AccountPurchaseBill_to # parseJSONList :: Value -> Parser [AccountPurchaseBill_to] # | |
ToJSON AccountPurchaseBill_to Source # | |
Defined in RecurlyClient.Types.AccountPurchase Methods toJSON :: AccountPurchaseBill_to -> Value # toEncoding :: AccountPurchaseBill_to -> Encoding # toJSONList :: [AccountPurchaseBill_to] -> Value # | |
Show AccountPurchaseBill_to Source # | |
Defined in RecurlyClient.Types.AccountPurchase Methods showsPrec :: Int -> AccountPurchaseBill_to -> ShowS # show :: AccountPurchaseBill_to -> String # showList :: [AccountPurchaseBill_to] -> ShowS # | |
Eq AccountPurchaseBill_to Source # | |
Defined in RecurlyClient.Types.AccountPurchase Methods (==) :: AccountPurchaseBill_to -> AccountPurchaseBill_to -> Bool # (/=) :: AccountPurchaseBill_to -> AccountPurchaseBill_to -> Bool # |
data AccountPurchasePreferred_locale Source #
Defines the enum schema located at components.schemas.AccountPurchase.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
data AccountPurchaseTransaction_type Source #
Defines the enum schema located at components.schemas.AccountPurchase.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
AccountPurchaseTransaction_typeOther Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
AccountPurchaseTransaction_typeTyped Text | This constructor can be used to send values to the server which are not present in the specification yet. |
AccountPurchaseTransaction_typeEnumMoto | Represents the JSON value |