✏️ 编辑:TaxInclusionType.php
路径:
/home/forge/woocommerce-square/vendor/square/square/src/Models/TaxInclusionType.php
大小:823 B · 修改:2025-12-23 20:26:26 · 权限:0644 · 可写
← 返回目录
👁 查看
⬇ 下载
<?php declare(strict_types=1); namespace Square\Models; /** * Whether to the tax amount should be additional to or included in the CatalogItem price. */ class TaxInclusionType { /** * The tax is an additive tax. The tax amount is added on top of the * CatalogItemVariation price. For example, a $1.00 item with a 10% additive * tax would have a total cost to the buyer of $1.10. */ public const ADDITIVE = 'ADDITIVE'; /** * The tax is an inclusive tax. The tax amount is included in the * CatalogItemVariation price. For example, a $1.00 item with a 10% inclusive * tax would have a total cost to the buyer of $1.00, with $0.91 (91 cents) of * that total being the cost of the item and $0.09 (9 cents) being tax. */ public const INCLUSIVE = 'INCLUSIVE'; }
💾 保存
取消
保存为 UTF-8,换行统一为 LF