recurly-client-0.1.0.0: Client for Recurly subscription management
Safe HaskellSafe-Inferred
LanguageHaskell2010

RecurlyClient.Types.TaxInfo

Description

Contains the types generated from the schema TaxInfo

Synopsis

Documentation

data TaxInfo Source #

Defines the object schema located at components.schemas.TaxInfo in the specification.

Only for merchants using Recurly's In-The-Box taxes.

Constructors

TaxInfo 

Fields

  • taxInfoRate :: Maybe Float

    rate: The combined tax rate. Not present when Avalara for Communications is enabled.

  • taxInfoRegion :: Maybe Text

    region: Provides the tax region applied on an invoice. For U.S. Sales Tax, this will be the 2 letter state code. For EU VAT this will be the 2 letter country code. For all country level tax types, this will display the regional tax, like VAT, GST, or PST. Not present when Avalara for Communications is enabled.

  • taxInfoTax_details :: Maybe [TaxDetail]

    tax_details: Provides additional tax details for Communications taxes when Avalara for Communications is enabled or Canadian Sales Tax when there is tax applied at both the country and province levels. This will only be populated for the Invoice response when fetching a single invoice and not for the InvoiceList or LineItemList. Only populated for a single LineItem fetch when Avalara for Communications is enabled.

  • taxInfoType :: Maybe Text

    type: Provides the tax type as "vat" for EU VAT, "usst" for U.S. Sales Tax, or the 2 letter country code for country level tax types like Canada, Australia, New Zealand, Israel, and all non-EU European countries. Not present when Avalara for Communications is enabled.

Instances

Instances details
FromJSON TaxInfo Source # 
Instance details

Defined in RecurlyClient.Types.TaxInfo

ToJSON TaxInfo Source # 
Instance details

Defined in RecurlyClient.Types.TaxInfo

Show TaxInfo Source # 
Instance details

Defined in RecurlyClient.Types.TaxInfo

Eq TaxInfo Source # 
Instance details

Defined in RecurlyClient.Types.TaxInfo

Methods

(==) :: TaxInfo -> TaxInfo -> Bool #

(/=) :: TaxInfo -> TaxInfo -> Bool #

mkTaxInfo :: TaxInfo Source #

Create a new TaxInfo with all required fields.