PluginProbe
Packeta / 1.4.2
Packeta v1.4.2
2.3.2 2.3.1 trunk 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.3.0 1.3.1 1.3.2 1.4 1.4.1 1.4.2 1.4.3 1.5.0 1.5.1 1.5.2 1.5.3 1.5.4 1.6.0 1.6.1 1.6.2 1.6.3 1.6.4 All 56 releases
packeta / src / Packetery / Core / Log / Record.php

Record.php in Packeta 1.4.2, at src/Packetery/Core/Log/Record.php

91 lines 1.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Class Record
4 *
5 * @package Packetery\Log
6 */
7
8 declare( strict_types=1 );
9
10
11 namespace Packetery\Core\Log;
12
13 /**
14 * Class Record
15 *
16 * @package Packetery\Log
17 */
18 class Record {
19
20 // Do not forget to add translation.
21 public const ACTION_PACKET_SENDING = 'packet-sending';
22 public const ACTION_LABEL_PRINT = 'label-print';
23 public const ACTION_CARRIER_LIST_UPDATE = 'carrier-list-update';
24 public const ACTION_CARRIER_LABEL_PRINT = 'carrier-label-print';
25 public const ACTION_CARRIER_NUMBER_RETRIEVING = 'carrier-number-retrieving';
26 public const ACTION_CARRIER_TABLE_NOT_CREATED = 'carrier-table-not-created';
27 public const ACTION_ORDER_TABLE_NOT_CREATED = 'order-table-not-created';
28 public const ACTION_SENDER_VALIDATION = 'sender-validation';
29 public const ACTION_PACKET_STATUS_SYNC = 'packet-status-sync';
30 public const ACTION_PACKET_CANCEL = 'packet-cancel';
31
32 public const STATUS_SUCCESS = 'success';
33 public const STATUS_ERROR = 'error';
34
35 /**
36 * Id.
37 *
38 * @var int|null
39 */
40 public $id;
41
42 /**
43 * Order ID.
44 *
45 * @var mixed|null
46 */
47 public $orderId;
48
49 /**
50 * Action.
51 *
52 * @var string
53 */
54 public $action;
55
56 /**
57 * Title.
58 *
59 * @var string
60 */
61 public $title;
62
63 /**
64 * Params.
65 *
66 * @var array
67 */
68 public $params;
69
70 /**
71 * Data.
72 *
73 * @var \DateTimeImmutable
74 */
75 public $date;
76
77 /**
78 * Status.
79 *
80 * @var string
81 */
82 public $status;
83
84 /**
85 * Note.
86 *
87 * @var string
88 */
89 public $note;
90 }
91