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

declare(strict_types=1);

namespace Square\Models;

/**
 * When to calculate the taxes due on a cart.
 */
class TaxCalculationPhase
{
    /**
     * The fee is calculated based on the payment's subtotal.
     */
    public const TAX_SUBTOTAL_PHASE = 'TAX_SUBTOTAL_PHASE';

    /**
     * The fee is calculated based on the payment's total.
     */
    public const TAX_TOTAL_PHASE = 'TAX_TOTAL_PHASE';
}