✏️ 编辑:TaxBasedOn.php
路径:
/home/forge/kingkrunch.com/wp/wp-content/plugins/woocommerce/src/Enums/TaxBasedOn.php
大小:649 B · 修改:2026-07-15 13:50:33 · 权限:0644 · 可写
← 返回目录
👁 查看
⬇ 下载
<?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'; }
💾 保存
取消
保存为 UTF-8,换行统一为 LF