/var/www/html_us/wp-content/plugins/woocommerce/src/Enums/OrderInternalStatus.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<?php

declare( strict_types );

namespace 
Automattic\WooCommerce\Enums;

/**
 * Enum class for all the internal order statuses.
 * These statuses are used internally by WooCommerce to query database directly.
 */
final class OrderInternalStatus {
    
/**
     * The order is pending payment.
     *
     * @var string
     */
    
const PENDING 'wc-pending';

    
/**
     * The order is processing.
     *
     * @var string
     */
    
const PROCESSING 'wc-processing';

    
/**
     * The order is on hold.
     *
     * @var string
     */
    
const ON_HOLD 'wc-on-hold';

    
/**
     * The order is completed.
     *
     * @var string
     */
    
const COMPLETED 'wc-completed';

    
/**
     * The order is cancelled.
     *
     * @var string
     */
    
const CANCELLED 'wc-cancelled';

    
/**
     * The order is refunded.
     *
     * @var string
     */
    
const REFUNDED 'wc-refunded';

    
/**
     * The order is failed.
     *
     * @var string
     */
    
const FAILED 'wc-failed';
}