👁 查看:ArchivedState.php
路径:/home/forge/woocommerce-square/vendor/square/square/src/Models/ArchivedState.php
大小:778 B · 修改:2025-12-23 20:26:26 · 权限:0644 · 可写
<?php

declare(strict_types=1);

namespace Square\Models;

/**
 * Defines the values for the `archived_state` query expression
 * used in [SearchCatalogItems]($e/Catalog/SearchCatalogItems)
 * to return the archived, not archived or either type of catalog items.
 */
class ArchivedState
{
    /**
     * Requested items are not archived with the `is_archived` attribute set to `false`.
     */
    public const ARCHIVED_STATE_NOT_ARCHIVED = 'ARCHIVED_STATE_NOT_ARCHIVED';

    /**
     * Requested items are archived with the `is_archived` attribute set to `true`.
     */
    public const ARCHIVED_STATE_ARCHIVED = 'ARCHIVED_STATE_ARCHIVED';

    /**
     * Requested items can be archived or not archived.
     */
    public const ARCHIVED_STATE_ALL = 'ARCHIVED_STATE_ALL';
}