HEX
Server: LiteSpeed
System: Linux s1049.use1.mysecurecloudhost.com 4.18.0-477.27.2.lve.el8.x86_64 #1 SMP Wed Oct 11 12:32:56 UTC 2023 x86_64
User: xedaptot (3356)
PHP: 8.3.31
Disabled: NONE
Upload Files
File: /home/xedaptot/ai.naniguide.com/vendor/square/square/src/Models/OrderLineItemDiscountScope.php
<?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';
}