PHP 8.2.31
Preview: TaxBasedOn.php Size: 649 B
/home/nshryvcy/radiantskinclinics.org/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';
}

Directory Contents

Dirs: 0 × Files: 12

Name Size Perms Modified Actions
616 B lrw-r--r-- 2025-06-23 19:46:28
Edit Download
720 B lrw-r--r-- 2026-05-05 14:26:50
Edit Download
796 B lrw-r--r-- 2025-10-06 17:56:06
Edit Download
947 B lrw-r--r-- 2025-06-23 19:46:28
Edit Download
640 B lrw-r--r-- 2026-05-05 14:26:50
Edit Download
2.19 KB lrw-r--r-- 2025-10-06 17:56:06
Edit Download
3.03 KB lrw-r--r-- 2025-11-24 23:10:10
Edit Download
881 B lrw-r--r-- 2025-06-23 19:46:28
Edit Download
583 B lrw-r--r-- 2025-06-23 19:46:28
Edit Download
533 B lrw-r--r-- 2025-06-23 19:46:28
Edit Download
633 B lrw-r--r-- 2025-06-23 19:46:28
Edit Download
649 B lrw-r--r-- 2026-05-05 14:26:50
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).