Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
forbidals
/
wp-content
/
plugins
/
wpforms-lite
/
vendor_prefixed
/
square
/
square
/
src
/
Models
:
LoyaltyProgramRewardDefinitionScope.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php declare (strict_types=1); namespace WPForms\Vendor\Square\Models; /** * Indicates the scope of the reward tier. DEPRECATED at version 2020-12-16. Discount details * are now defined using a catalog pricing rule and other catalog objects. For more information, see * [Getting discount details for a reward tier](https://developer.squareup.com/docs/loyalty-api/loyalty- * rewards#get-discount-details). */ class LoyaltyProgramRewardDefinitionScope { /** * The discount applies to the entire order. */ public const ORDER = 'ORDER'; /** * The discount applies only to specific item variations. */ public const ITEM_VARIATION = 'ITEM_VARIATION'; /** * The discount applies only to items in the given categories. */ public const CATEGORY = 'CATEGORY'; }