HEX
Server: LiteSpeed
System: Linux s882.use1.mysecurecloudhost.com 4.18.0-553.27.1.lve.el8.x86_64 #1 SMP Fri Nov 8 15:09:45 UTC 2024 x86_64
User: airservicecom (4307)
PHP: 8.2.31
Disabled: NONE
Upload Files
File: /home/airservicecom/public_html/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';
}