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

declare(strict_types=1);

namespace Square\Models;

/**
 * Enumeration of visibility-filter values used to set the ability to view custom attributes or custom
 * attribute definitions.
 */
class VisibilityFilter
{
    /**
     * All custom attributes or custom attribute definitions.
     */
    public const ALL = 'ALL';

    /**
     * All custom attributes or custom attribute definitions with the `visibility` field set to
     * `VISIBILITY_READ_ONLY` or `VISIBILITY_READ_WRITE_VALUES`.
     */
    public const READ = 'READ';

    /**
     * All custom attributes or custom attribute definitions with the `visibility` field set to
     * `VISIBILITY_READ_WRITE_VALUES`.
     */
    public const READ_WRITE = 'READ_WRITE';
}