PluginProbe
Packeta / 1.2.6
Packeta v1.2.6
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.2.6, at src/Packetery/Core/Log/Record.php

84 lines 1.4 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 * Action.
44 *
45 * @var string
46 */
47 public $action;
48
49 /**
50 * Title.
51 *
52 * @var string
53 */
54 public $title;
55
56 /**
57 * Params.
58 *
59 * @var array
60 */
61 public $params;
62
63 /**
64 * Data.
65 *
66 * @var \DateTimeImmutable
67 */
68 public $date;
69
70 /**
71 * Status.
72 *
73 * @var string
74 */
75 public $status;
76
77 /**
78 * Note.
79 *
80 * @var string
81 */
82 public $note;
83 }
84