Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation postCustomersCustomerTaxIds
Synopsis
- postCustomersCustomerTaxIds :: forall m. MonadHTTP m => Text -> PostCustomersCustomerTaxIdsRequestBody -> ClientT m (Response PostCustomersCustomerTaxIdsResponse)
- data PostCustomersCustomerTaxIdsRequestBody = PostCustomersCustomerTaxIdsRequestBody {}
- mkPostCustomersCustomerTaxIdsRequestBody :: PostCustomersCustomerTaxIdsRequestBodyType' -> Text -> PostCustomersCustomerTaxIdsRequestBody
- data PostCustomersCustomerTaxIdsRequestBodyType'
- = PostCustomersCustomerTaxIdsRequestBodyType'Other Value
- | PostCustomersCustomerTaxIdsRequestBodyType'Typed Text
- | PostCustomersCustomerTaxIdsRequestBodyType'EnumAeTrn
- | PostCustomersCustomerTaxIdsRequestBodyType'EnumAuAbn
- | PostCustomersCustomerTaxIdsRequestBodyType'EnumBrCnpj
- | PostCustomersCustomerTaxIdsRequestBodyType'EnumBrCpf
- | PostCustomersCustomerTaxIdsRequestBodyType'EnumCaBn
- | PostCustomersCustomerTaxIdsRequestBodyType'EnumCaGstHst
- | PostCustomersCustomerTaxIdsRequestBodyType'EnumCaPstBc
- | PostCustomersCustomerTaxIdsRequestBodyType'EnumCaPstMb
- | PostCustomersCustomerTaxIdsRequestBodyType'EnumCaPstSk
- | PostCustomersCustomerTaxIdsRequestBodyType'EnumCaQst
- | PostCustomersCustomerTaxIdsRequestBodyType'EnumChVat
- | PostCustomersCustomerTaxIdsRequestBodyType'EnumClTin
- | PostCustomersCustomerTaxIdsRequestBodyType'EnumEsCif
- | PostCustomersCustomerTaxIdsRequestBodyType'EnumEuVat
- | PostCustomersCustomerTaxIdsRequestBodyType'EnumGbVat
- | PostCustomersCustomerTaxIdsRequestBodyType'EnumHkBr
- | PostCustomersCustomerTaxIdsRequestBodyType'EnumIdNpwp
- | PostCustomersCustomerTaxIdsRequestBodyType'EnumIlVat
- | PostCustomersCustomerTaxIdsRequestBodyType'EnumInGst
- | PostCustomersCustomerTaxIdsRequestBodyType'EnumJpCn
- | PostCustomersCustomerTaxIdsRequestBodyType'EnumJpRn
- | PostCustomersCustomerTaxIdsRequestBodyType'EnumKrBrn
- | PostCustomersCustomerTaxIdsRequestBodyType'EnumLiUid
- | PostCustomersCustomerTaxIdsRequestBodyType'EnumMxRfc
- | PostCustomersCustomerTaxIdsRequestBodyType'EnumMyFrp
- | PostCustomersCustomerTaxIdsRequestBodyType'EnumMyItn
- | PostCustomersCustomerTaxIdsRequestBodyType'EnumMySst
- | PostCustomersCustomerTaxIdsRequestBodyType'EnumNoVat
- | PostCustomersCustomerTaxIdsRequestBodyType'EnumNzGst
- | PostCustomersCustomerTaxIdsRequestBodyType'EnumRuInn
- | PostCustomersCustomerTaxIdsRequestBodyType'EnumRuKpp
- | PostCustomersCustomerTaxIdsRequestBodyType'EnumSaVat
- | PostCustomersCustomerTaxIdsRequestBodyType'EnumSgGst
- | PostCustomersCustomerTaxIdsRequestBodyType'EnumSgUen
- | PostCustomersCustomerTaxIdsRequestBodyType'EnumThVat
- | PostCustomersCustomerTaxIdsRequestBodyType'EnumTwVat
- | PostCustomersCustomerTaxIdsRequestBodyType'EnumUsEin
- | PostCustomersCustomerTaxIdsRequestBodyType'EnumZaVat
- data PostCustomersCustomerTaxIdsResponse
Documentation
postCustomersCustomerTaxIds Source #
:: forall m. MonadHTTP m | |
=> Text | customer | Constraints: Maximum length of 5000 |
-> PostCustomersCustomerTaxIdsRequestBody | The request body to send |
-> ClientT m (Response PostCustomersCustomerTaxIdsResponse) | Monadic computation which returns the result of the operation |
POST /v1/customers/{customer}/tax_ids
<p>Creates a new <code>TaxID</code> object for a customer.</p>
data PostCustomersCustomerTaxIdsRequestBody Source #
Defines the object schema located at paths./v1/customers/{customer}/tax_ids.POST.requestBody.content.application/x-www-form-urlencoded.schema
in the specification.
PostCustomersCustomerTaxIdsRequestBody | |
|
mkPostCustomersCustomerTaxIdsRequestBody Source #
Create a new PostCustomersCustomerTaxIdsRequestBody
with all required fields.
data PostCustomersCustomerTaxIdsRequestBodyType' Source #
Defines the enum schema located at paths./v1/customers/{customer}/tax_ids.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.type
in the specification.
Type of the tax ID, one of `ae_trn`, `au_abn`, `br_cnpj`, `br_cpf`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `ch_vat`, `cl_tin`, `es_cif`, `eu_vat`, `gb_vat`, `hk_br`, `id_npwp`, `il_vat`, `in_gst`, `jp_cn`, `jp_rn`, `kr_brn`, `li_uid`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `no_vat`, `nz_gst`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `th_vat`, `tw_vat`, `us_ein`, or `za_vat`
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. |