HEX
Server: LiteSpeed
System: Linux server315.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User: globfdxw (6114)
PHP: 8.1.34
Disabled: NONE
Upload Files
File: /home/globfdxw/diasporameetsafrica.com/wp-content/plugins/woocommerce/src/Enums/TaxBasedOn.php
<?php

declare( strict_types = 1 );

namespace Automattic\WooCommerce\Enums;

/**
 * Enum class for the possible values of the `woocommerce_tax_based_on` option,
 * which determines which address is used to calculate tax.
 *
 * @since 10.8.0
 */
final class TaxBasedOn {
	/**
	 * Tax is calculated based on the customer's shipping address.
	 *
	 * @var string
	 */
	public const SHIPPING = 'shipping';

	/**
	 * Tax is calculated based on the customer's billing address.
	 *
	 * @var string
	 */
	public const BILLING = 'billing';

	/**
	 * Tax is calculated based on the shop's base address.
	 *
	 * @var string
	 */
	public const BASE = 'base';
}