Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the types generated from the schema TaxId
Synopsis
- data TaxId = TaxId {}
- mkTaxId :: Int -> Text -> Bool -> TaxIdType' -> Text -> TaxId
- data TaxIdCustomer'Variants
- data TaxIdType'
- = TaxIdType'Other Value
- | TaxIdType'Typed Text
- | TaxIdType'EnumAeTrn
- | TaxIdType'EnumAuAbn
- | TaxIdType'EnumBrCnpj
- | TaxIdType'EnumBrCpf
- | TaxIdType'EnumCaBn
- | TaxIdType'EnumCaGstHst
- | TaxIdType'EnumCaPstBc
- | TaxIdType'EnumCaPstMb
- | TaxIdType'EnumCaPstSk
- | TaxIdType'EnumCaQst
- | TaxIdType'EnumChVat
- | TaxIdType'EnumClTin
- | TaxIdType'EnumEsCif
- | TaxIdType'EnumEuVat
- | TaxIdType'EnumGbVat
- | TaxIdType'EnumHkBr
- | TaxIdType'EnumIdNpwp
- | TaxIdType'EnumIlVat
- | TaxIdType'EnumInGst
- | TaxIdType'EnumJpCn
- | TaxIdType'EnumJpRn
- | TaxIdType'EnumKrBrn
- | TaxIdType'EnumLiUid
- | TaxIdType'EnumMxRfc
- | TaxIdType'EnumMyFrp
- | TaxIdType'EnumMyItn
- | TaxIdType'EnumMySst
- | TaxIdType'EnumNoVat
- | TaxIdType'EnumNzGst
- | TaxIdType'EnumRuInn
- | TaxIdType'EnumRuKpp
- | TaxIdType'EnumSaVat
- | TaxIdType'EnumSgGst
- | TaxIdType'EnumSgUen
- | TaxIdType'EnumThVat
- | TaxIdType'EnumTwVat
- | TaxIdType'EnumUnknown
- | TaxIdType'EnumUsEin
- | TaxIdType'EnumZaVat
- data TaxIdVerification' = TaxIdVerification' {}
- mkTaxIdVerification' :: TaxIdVerification'
- data TaxIdVerification'Status'
Documentation
Defines the object schema located at components.schemas.tax_id
in the specification.
You can add one or multiple tax IDs to a customer. A customer's tax IDs are displayed on invoices and credit notes issued for the customer.
Related guide: Customer Tax Identification Numbers.
TaxId | |
|
Create a new TaxId
with all required fields.
data TaxIdCustomer'Variants Source #
Defines the oneOf schema located at components.schemas.tax_id.properties.customer.anyOf
in the specification.
ID of the customer.
Instances
Eq TaxIdCustomer'Variants Source # | |
Defined in StripeAPI.Types.TaxId | |
Show TaxIdCustomer'Variants Source # | |
Defined in StripeAPI.Types.TaxId showsPrec :: Int -> TaxIdCustomer'Variants -> ShowS # show :: TaxIdCustomer'Variants -> String # showList :: [TaxIdCustomer'Variants] -> ShowS # | |
ToJSON TaxIdCustomer'Variants Source # | |
Defined in StripeAPI.Types.TaxId toJSON :: TaxIdCustomer'Variants -> Value # toEncoding :: TaxIdCustomer'Variants -> Encoding # toJSONList :: [TaxIdCustomer'Variants] -> Value # | |
FromJSON TaxIdCustomer'Variants Source # | |
Defined in StripeAPI.Types.TaxId |
data TaxIdType' Source #
Defines the enum schema located at components.schemas.tax_id.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`. Note that some legacy tax IDs have type `unknown`
TaxIdType'Other Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
TaxIdType'Typed Text | This constructor can be used to send values to the server which are not present in the specification yet. |
TaxIdType'EnumAeTrn | Represents the JSON value |
TaxIdType'EnumAuAbn | Represents the JSON value |
TaxIdType'EnumBrCnpj | Represents the JSON value |
TaxIdType'EnumBrCpf | Represents the JSON value |
TaxIdType'EnumCaBn | Represents the JSON value |
TaxIdType'EnumCaGstHst | Represents the JSON value |
TaxIdType'EnumCaPstBc | Represents the JSON value |
TaxIdType'EnumCaPstMb | Represents the JSON value |
TaxIdType'EnumCaPstSk | Represents the JSON value |
TaxIdType'EnumCaQst | Represents the JSON value |
TaxIdType'EnumChVat | Represents the JSON value |
TaxIdType'EnumClTin | Represents the JSON value |
TaxIdType'EnumEsCif | Represents the JSON value |
TaxIdType'EnumEuVat | Represents the JSON value |
TaxIdType'EnumGbVat | Represents the JSON value |
TaxIdType'EnumHkBr | Represents the JSON value |
TaxIdType'EnumIdNpwp | Represents the JSON value |
TaxIdType'EnumIlVat | Represents the JSON value |
TaxIdType'EnumInGst | Represents the JSON value |
TaxIdType'EnumJpCn | Represents the JSON value |
TaxIdType'EnumJpRn | Represents the JSON value |
TaxIdType'EnumKrBrn | Represents the JSON value |
TaxIdType'EnumLiUid | Represents the JSON value |
TaxIdType'EnumMxRfc | Represents the JSON value |
TaxIdType'EnumMyFrp | Represents the JSON value |
TaxIdType'EnumMyItn | Represents the JSON value |
TaxIdType'EnumMySst | Represents the JSON value |
TaxIdType'EnumNoVat | Represents the JSON value |
TaxIdType'EnumNzGst | Represents the JSON value |
TaxIdType'EnumRuInn | Represents the JSON value |
TaxIdType'EnumRuKpp | Represents the JSON value |
TaxIdType'EnumSaVat | Represents the JSON value |
TaxIdType'EnumSgGst | Represents the JSON value |
TaxIdType'EnumSgUen | Represents the JSON value |
TaxIdType'EnumThVat | Represents the JSON value |
TaxIdType'EnumTwVat | Represents the JSON value |
TaxIdType'EnumUnknown | Represents the JSON value |
TaxIdType'EnumUsEin | Represents the JSON value |
TaxIdType'EnumZaVat | Represents the JSON value |
Instances
Eq TaxIdType' Source # | |
Defined in StripeAPI.Types.TaxId (==) :: TaxIdType' -> TaxIdType' -> Bool # (/=) :: TaxIdType' -> TaxIdType' -> Bool # | |
Show TaxIdType' Source # | |
Defined in StripeAPI.Types.TaxId showsPrec :: Int -> TaxIdType' -> ShowS # show :: TaxIdType' -> String # showList :: [TaxIdType'] -> ShowS # | |
ToJSON TaxIdType' Source # | |
Defined in StripeAPI.Types.TaxId toJSON :: TaxIdType' -> Value # toEncoding :: TaxIdType' -> Encoding # toJSONList :: [TaxIdType'] -> Value # toEncodingList :: [TaxIdType'] -> Encoding # | |
FromJSON TaxIdType' Source # | |
Defined in StripeAPI.Types.TaxId parseJSON :: Value -> Parser TaxIdType' # parseJSONList :: Value -> Parser [TaxIdType'] # |
data TaxIdVerification' Source #
Defines the object schema located at components.schemas.tax_id.properties.verification.anyOf
in the specification.
Tax ID verification information.
TaxIdVerification' | |
|
Instances
Eq TaxIdVerification' Source # | |
Defined in StripeAPI.Types.TaxId (==) :: TaxIdVerification' -> TaxIdVerification' -> Bool # (/=) :: TaxIdVerification' -> TaxIdVerification' -> Bool # | |
Show TaxIdVerification' Source # | |
Defined in StripeAPI.Types.TaxId showsPrec :: Int -> TaxIdVerification' -> ShowS # show :: TaxIdVerification' -> String # showList :: [TaxIdVerification'] -> ShowS # | |
ToJSON TaxIdVerification' Source # | |
Defined in StripeAPI.Types.TaxId toJSON :: TaxIdVerification' -> Value # toEncoding :: TaxIdVerification' -> Encoding # toJSONList :: [TaxIdVerification'] -> Value # toEncodingList :: [TaxIdVerification'] -> Encoding # | |
FromJSON TaxIdVerification' Source # | |
Defined in StripeAPI.Types.TaxId parseJSON :: Value -> Parser TaxIdVerification' # parseJSONList :: Value -> Parser [TaxIdVerification'] # |
mkTaxIdVerification' :: TaxIdVerification' Source #
Create a new TaxIdVerification'
with all required fields.
data TaxIdVerification'Status' Source #
Defines the enum schema located at components.schemas.tax_id.properties.verification.anyOf.properties.status
in the specification.
Verification status, one of `pending`, `verified`, `unverified`, or `unavailable`.
TaxIdVerification'Status'Other Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
TaxIdVerification'Status'Typed Text | This constructor can be used to send values to the server which are not present in the specification yet. |
TaxIdVerification'Status'EnumPending | Represents the JSON value |
TaxIdVerification'Status'EnumUnavailable | Represents the JSON value |
TaxIdVerification'Status'EnumUnverified | Represents the JSON value |
TaxIdVerification'Status'EnumVerified | Represents the JSON value |
Instances
Eq TaxIdVerification'Status' Source # | |
Defined in StripeAPI.Types.TaxId | |
Show TaxIdVerification'Status' Source # | |
Defined in StripeAPI.Types.TaxId showsPrec :: Int -> TaxIdVerification'Status' -> ShowS # show :: TaxIdVerification'Status' -> String # showList :: [TaxIdVerification'Status'] -> ShowS # | |
ToJSON TaxIdVerification'Status' Source # | |
Defined in StripeAPI.Types.TaxId | |
FromJSON TaxIdVerification'Status' Source # | |
Defined in StripeAPI.Types.TaxId |