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
:
InvoiceSortField.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php declare (strict_types=1); namespace WPForms\Vendor\Square\Models; /** * The field to use for sorting. */ class InvoiceSortField { /** * The field works as follows: * * - If the invoice is a draft, it uses the invoice `created_at` date. * - If the invoice is scheduled for publication, it uses the `scheduled_at` date. * - If the invoice is published, it uses the invoice publication date. */ public const INVOICE_SORT_DATE = 'INVOICE_SORT_DATE'; }