✏️ 编辑:OrderLineItemDiscountScope.php
路径:
/home/forge/woocommerce-square/vendor/square/square/src/Models/OrderLineItemDiscountScope.php
大小:664 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 discount. */ class OrderLineItemDiscountScope { /** * Used for reporting only. * The original transaction discount scope is currently not supported by the API. */ public const OTHER_DISCOUNT_SCOPE = 'OTHER_DISCOUNT_SCOPE'; /** * The discount should be applied to only line items specified by * `OrderLineItemAppliedDiscount` reference records. */ public const LINE_ITEM = 'LINE_ITEM'; /** * The discount should be applied to the entire order. */ public const ORDER = 'ORDER'; }
💾 保存
取消
保存为 UTF-8,换行统一为 LF