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

83 lines 1.3 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
31 public const STATUS_SUCCESS = 'success';
32 public const STATUS_ERROR = 'error';
33
34 /**
35 * Id.
36 *
37 * @var int|null
38 */
39 public $id;
40
41 /**
42 * Action.
43 *
44 * @var string
45 */
46 public $action;
47
48 /**
49 * Title.
50 *
51 * @var string
52 */
53 public $title;
54
55 /**
56 * Params.
57 *
58 * @var array
59 */
60 public $params;
61
62 /**
63 * Data.
64 *
65 * @var \DateTimeImmutable
66 */
67 public $date;
68
69 /**
70 * Status.
71 *
72 * @var string
73 */
74 public $status;
75
76 /**
77 * Note.
78 *
79 * @var string
80 */
81 public $note;
82 }
83