Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
RecurlyClient.Types.InvoiceCreate
Description
Contains the types generated from the schema InvoiceCreate
Synopsis
- data InvoiceCreate = InvoiceCreate {
- invoiceCreateBusiness_entity_code :: Maybe Text
- invoiceCreateBusiness_entity_id :: Maybe Text
- invoiceCreateCharge_customer_notes :: Maybe Text
- invoiceCreateCollection_method :: Maybe InvoiceCreateCollection_method
- invoiceCreateCredit_customer_notes :: Maybe Text
- invoiceCreateCurrency :: Text
- invoiceCreateNet_terms :: Maybe Int
- invoiceCreateNet_terms_type :: Maybe InvoiceCreateNet_terms_type
- invoiceCreatePo_number :: Maybe Text
- invoiceCreateTerms_and_conditions :: Maybe Text
- invoiceCreateVat_reverse_charge_notes :: Maybe Text
- mkInvoiceCreate :: Text -> InvoiceCreate
- data InvoiceCreateCollection_method
- data InvoiceCreateNet_terms_type
Documentation
data InvoiceCreate Source #
Defines the object schema located at components.schemas.InvoiceCreate
in the specification.
Constructors
InvoiceCreate | |
Fields
|
Instances
FromJSON InvoiceCreate Source # | |
Defined in RecurlyClient.Types.InvoiceCreate Methods parseJSON :: Value -> Parser InvoiceCreate # parseJSONList :: Value -> Parser [InvoiceCreate] # | |
ToJSON InvoiceCreate Source # | |
Defined in RecurlyClient.Types.InvoiceCreate Methods toJSON :: InvoiceCreate -> Value # toEncoding :: InvoiceCreate -> Encoding # toJSONList :: [InvoiceCreate] -> Value # toEncodingList :: [InvoiceCreate] -> Encoding # | |
Show InvoiceCreate Source # | |
Defined in RecurlyClient.Types.InvoiceCreate Methods showsPrec :: Int -> InvoiceCreate -> ShowS # show :: InvoiceCreate -> String # showList :: [InvoiceCreate] -> ShowS # | |
Eq InvoiceCreate Source # | |
Defined in RecurlyClient.Types.InvoiceCreate Methods (==) :: InvoiceCreate -> InvoiceCreate -> Bool # (/=) :: InvoiceCreate -> InvoiceCreate -> Bool # |
Arguments
:: Text | |
-> InvoiceCreate |
Create a new InvoiceCreate
with all required fields.
data InvoiceCreateCollection_method Source #
Defines the enum schema located at components.schemas.InvoiceCreate.properties.collection_method
in the specification.
An automatic invoice means a corresponding transaction is run using the account's billing information at the same time the invoice is created. Manual invoices are created without a corresponding transaction. The merchant must enter a manual payment transaction or have the customer pay the invoice with an automatic method, like credit card, PayPal, Amazon, or ACH bank payment.
Constructors
InvoiceCreateCollection_methodOther Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
InvoiceCreateCollection_methodTyped Text | This constructor can be used to send values to the server which are not present in the specification yet. |
InvoiceCreateCollection_methodEnumAutomatic | Represents the JSON value |
InvoiceCreateCollection_methodEnumManual | Represents the JSON value |
Instances
data InvoiceCreateNet_terms_type Source #
Defines the enum schema located at components.schemas.InvoiceCreate.properties.net_terms_type
in the specification.
Optionally supplied string that may be either `net` or `eom` (end-of-month). When `net`, an invoice becomes past due the specified number of `Net Terms` days from the current date. When `eom` an invoice becomes past due the specified number of `Net Terms` days from the last day of the current month.
Constructors
InvoiceCreateNet_terms_typeOther Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
InvoiceCreateNet_terms_typeTyped Text | This constructor can be used to send values to the server which are not present in the specification yet. |
InvoiceCreateNet_terms_typeEnumNet | Represents the JSON value |
InvoiceCreateNet_terms_typeEnumEom | Represents the JSON value |