Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
File Manager
/
wp-content
/
plugins
/
woocommerce
/
src
/
Internal
/
PushNotifications
/
Enums
:
SuppressionReason.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php declare(strict_types=1); namespace Automattic\WooCommerce\Internal\PushNotifications\Enums; /** * Reasons a notification was not sent to a token. */ final class SuppressionReason { /** * The user turned this notification type off. * * @var string */ public const NOTIFICATIONS_OFF = 'notifications_off'; /** * The user turned off this stock event type. * * @var string */ public const STOCK_ALERT_OFF = 'stock_alert_off'; /** * The order could not be loaded. * * @var string */ public const ORDER_MISSING = 'order_missing'; /** * The order total is below the amount the user asked to be told about. * * @var string */ public const BELOW_MIN_AMOUNT = 'below_min_amount'; /** * The review could not be loaded. * * @var string */ public const REVIEW_MISSING = 'review_missing'; /** * The review's rating is above the maximum the user asked to be told about. * * @var string */ public const ABOVE_MAX_RATING = 'above_max_rating'; /** * The token has no owning user, so there are no preferences to consult. * * @var string */ public const NO_ACCOUNT = 'no_account'; }