👁 查看:OrderLineItemTaxScope.php
路径:/home/forge/woocommerce-square/vendor/square/square/src/Models/OrderLineItemTaxScope.php
大小:628 B · 修改:2025-12-23 20:26:26 · 权限:0644 · 可写
<?php

declare(strict_types=1);

namespace Square\Models;

/**
 * Indicates whether this is a line-item or order-level tax.
 */
class OrderLineItemTaxScope
{
    /**
     * Used for reporting only.
     * The original transaction tax scope is currently not supported by the API.
     */
    public const OTHER_TAX_SCOPE = 'OTHER_TAX_SCOPE';

    /**
     * The tax should be applied only to line items specified by
     * the `OrderLineItemAppliedTax` reference records.
     */
    public const LINE_ITEM = 'LINE_ITEM';

    /**
     * The tax should be applied to the entire order.
     */
    public const ORDER = 'ORDER';
}