Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation postCustomersCustomerTaxIds
Synopsis
- postCustomersCustomerTaxIds :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> PostCustomersCustomerTaxIdsRequestBody -> m (Either HttpException (Response PostCustomersCustomerTaxIdsResponse))
- postCustomersCustomerTaxIdsRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> PostCustomersCustomerTaxIdsRequestBody -> m (Either HttpException (Response ByteString))
- postCustomersCustomerTaxIdsM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> PostCustomersCustomerTaxIdsRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response PostCustomersCustomerTaxIdsResponse))
- postCustomersCustomerTaxIdsRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> PostCustomersCustomerTaxIdsRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString))
- data PostCustomersCustomerTaxIdsRequestBody = PostCustomersCustomerTaxIdsRequestBody {}
- data PostCustomersCustomerTaxIdsRequestBodyType'
- = PostCustomersCustomerTaxIdsRequestBodyType'EnumOther Value
- | PostCustomersCustomerTaxIdsRequestBodyType'EnumTyped String
- | PostCustomersCustomerTaxIdsRequestBodyType'EnumStringAuAbn
- | PostCustomersCustomerTaxIdsRequestBodyType'EnumStringCaBn
- | PostCustomersCustomerTaxIdsRequestBodyType'EnumStringCaQst
- | PostCustomersCustomerTaxIdsRequestBodyType'EnumStringChVat
- | PostCustomersCustomerTaxIdsRequestBodyType'EnumStringEsCif
- | PostCustomersCustomerTaxIdsRequestBodyType'EnumStringEuVat
- | PostCustomersCustomerTaxIdsRequestBodyType'EnumStringHkBr
- | PostCustomersCustomerTaxIdsRequestBodyType'EnumStringInGst
- | PostCustomersCustomerTaxIdsRequestBodyType'EnumStringJpCn
- | PostCustomersCustomerTaxIdsRequestBodyType'EnumStringKrBrn
- | PostCustomersCustomerTaxIdsRequestBodyType'EnumStringLiUid
- | PostCustomersCustomerTaxIdsRequestBodyType'EnumStringMxRfc
- | PostCustomersCustomerTaxIdsRequestBodyType'EnumStringMyItn
- | PostCustomersCustomerTaxIdsRequestBodyType'EnumStringMySst
- | PostCustomersCustomerTaxIdsRequestBodyType'EnumStringNoVat
- | PostCustomersCustomerTaxIdsRequestBodyType'EnumStringNzGst
- | PostCustomersCustomerTaxIdsRequestBodyType'EnumStringRuInn
- | PostCustomersCustomerTaxIdsRequestBodyType'EnumStringSgUen
- | PostCustomersCustomerTaxIdsRequestBodyType'EnumStringThVat
- | PostCustomersCustomerTaxIdsRequestBodyType'EnumStringTwVat
- | PostCustomersCustomerTaxIdsRequestBodyType'EnumStringUsEin
- | PostCustomersCustomerTaxIdsRequestBodyType'EnumStringZaVat
- data PostCustomersCustomerTaxIdsResponse
Documentation
postCustomersCustomerTaxIds Source #
:: (MonadHTTP m, SecurityScheme s) | |
=> Configuration s | The configuration to use in the request |
-> String | customer | Constraints: Maximum length of 5000 |
-> PostCustomersCustomerTaxIdsRequestBody | The request body to send |
-> m (Either HttpException (Response PostCustomersCustomerTaxIdsResponse)) | Monad containing the result of the operation |
POST /v1/customers/{customer}/tax_ids
<p>Creates a new <code>TaxID</code> object for a customer.</p>
postCustomersCustomerTaxIdsRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> PostCustomersCustomerTaxIdsRequestBody -> m (Either HttpException (Response ByteString)) Source #
POST /v1/customers/{customer}/tax_ids
The same as postCustomersCustomerTaxIds
but returns the raw ByteString
postCustomersCustomerTaxIdsM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> PostCustomersCustomerTaxIdsRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response PostCustomersCustomerTaxIdsResponse)) Source #
POST /v1/customers/{customer}/tax_ids
Monadic version of postCustomersCustomerTaxIds
(use with runWithConfiguration
)
postCustomersCustomerTaxIdsRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> PostCustomersCustomerTaxIdsRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString)) Source #
POST /v1/customers/{customer}/tax_ids
Monadic version of postCustomersCustomerTaxIdsRaw
(use with runWithConfiguration
)
data PostCustomersCustomerTaxIdsRequestBody Source #
Defines the data type for the schema postCustomersCustomerTaxIdsRequestBody
PostCustomersCustomerTaxIdsRequestBody | |
|
data PostCustomersCustomerTaxIdsRequestBodyType' Source #
Defines the enum schema postCustomersCustomerTaxIdsRequestBodyType'
Type of the tax ID, one of `eu_vat`, `nz_gst`, `au_abn`, `in_gst`, `no_vat`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ca_bn`, `hk_br`, `es_cif`, `tw_vat`, `th_vat`, `jp_cn`, `li_uid`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, or `my_sst`
data PostCustomersCustomerTaxIdsResponse Source #
Represents a response of the operation postCustomersCustomerTaxIds
.
The response constructor is chosen by the status code of the response. If no case matches (no specific case for the response code, no range case, no default case), PostCustomersCustomerTaxIdsResponseError
is used.
PostCustomersCustomerTaxIdsResponseError String | Means either no matching case available or a parse error |
PostCustomersCustomerTaxIdsResponse200 TaxId | Successful response. |
PostCustomersCustomerTaxIdsResponseDefault Error | Error response. |