TaxBasedOn
in package
Enum class for the possible values of the `woocommerce_tax_based_on` option, which determines which address is used to calculate tax.
Tags
Table of Contents
- BASE = 'base'
- Tax is calculated based on the shop's base address.
- BILLING = 'billing'
- Tax is calculated based on the customer's billing address.
- SHIPPING = 'shipping'
- Tax is calculated based on the customer's shipping address.
Constants
BASE
Tax is calculated based on the shop's base address.
public
string
BASE
= 'base'
BILLING
Tax is calculated based on the customer's billing address.
public
string
BILLING
= 'billing'
SHIPPING
Tax is calculated based on the customer's shipping address.
public
string
SHIPPING
= 'shipping'
