CatalogTax

September 24, 2019 ยท View on GitHub

Description

A tax in the Catalog object model.

Properties

NameGetterSetterTypeDescriptionNotes
namegetName()setName($value)stringThe tax's name. Searchable. This field has max length of 255 Unicode code points.[optional]
calculation_phasegetCalculationPhase()setCalculationPhase($value)stringWhether the tax is calculated based on a payment's subtotal or total. See TaxCalculationPhase for possible values[optional]
inclusion_typegetInclusionType()setInclusionType($value)stringWhether the tax is `ADDITIVE` or `INCLUSIVE`. See TaxInclusionType for possible values[optional]
percentagegetPercentage()setPercentage($value)stringThe percentage of the tax in decimal form, using a `'.'` as the decimal separator and without a `'%'` sign. A value of `7.5` corresponds to 7.5%.[optional]
applies_to_custom_amountsgetAppliesToCustomAmounts()setAppliesToCustomAmounts($value)boolIf `true`, the fee applies to custom amounts entered into the Square Point of Sale app that are not associated with a particular `CatalogItem`.[optional]
enabledgetEnabled()setEnabled($value)boolIf `true`, the tax will be shown as enabled in the Square Point of Sale app.[optional]

Note: All properties are protected and only accessed via getters and setters.

[Back to Model list] [Back to API list] [Back to README]