HEX
Server: LiteSpeed
System: Linux s1049.use1.mysecurecloudhost.com 4.18.0-477.27.2.lve.el8.x86_64 #1 SMP Wed Oct 11 12:32:56 UTC 2023 x86_64
User: xedaptot (3356)
PHP: 8.3.31
Disabled: NONE
Upload Files
File: /home/xedaptot/ai.naniguide.com/vendor/square/square/src/Models/SearchOrdersSortField.php
<?php

declare(strict_types=1);

namespace Square\Models;

/**
 * Specifies which timestamp to use to sort `SearchOrder` results.
 */
class SearchOrdersSortField
{
    /**
     * The time when the order was created, in RFC-3339 format. If you are also
     * filtering for a time range in this query, you must set the `CREATED_AT`
     * field in your `DateTimeFilter`.
     */
    public const CREATED_AT = 'CREATED_AT';

    /**
     * The time when the order last updated, in RFC-3339 format. If you are also
     * filtering for a time range in this query, you must set the `UPDATED_AT`
     * field in your `DateTimeFilter`.
     */
    public const UPDATED_AT = 'UPDATED_AT';

    /**
     * The time when the order was closed, in RFC-3339 format. If you use this
     * value, you must also set a `StateFilter` with closed states. If you are also
     * filtering for a time range in this query, you must set the `CLOSED_AT`
     * field in your `DateTimeFilter`.
     */
    public const CLOSED_AT = 'CLOSED_AT';
}