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

98 lines 2.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 namespace Packetery\Core\Log;
11
12 /**
13 * Class Record
14 *
15 * @package Packetery\Log
16 */
17 class Record {
18
19 // Do not forget to add translation.
20 public const ACTION_PACKET_SENDING = 'packet-sending';
21 public const ACTION_PACKET_CLAIM_SENDING = 'packet-claim-sending';
22 public const ACTION_LABEL_PRINT = 'label-print';
23 public const ACTION_CLAIM_LABEL_PRINT = 'claim-assistant-label-printing';
24 public const ACTION_CARRIER_LIST_UPDATE = 'carrier-list-update';
25 public const ACTION_CARRIER_LABEL_PRINT = 'carrier-label-print';
26 public const ACTION_CARRIER_NUMBER_RETRIEVING = 'carrier-number-retrieving';
27 public const ACTION_CARRIER_TABLE_NOT_CREATED = 'carrier-table-not-created';
28 public const ACTION_ORDER_TABLE_NOT_CREATED = 'order-table-not-created';
29 public const ACTION_CUSTOMS_DECLARATION_TABLE_NOT_CREATED = 'customs-declaration-table-not-created';
30 public const ACTION_CUSTOMS_DECLARATION_ITEM_TABLE_NOT_CREATED = 'customs-declaration-item-table-not-created';
31 public const ACTION_SENDER_VALIDATION = 'sender-validation';
32 public const ACTION_PACKET_STATUS_SYNC = 'packet-status-sync';
33 public const ACTION_PACKET_INFO = 'packet-info';
34 public const ACTION_PACKET_CANCEL = 'packet-cancel';
35 public const ACTION_PICKUP_POINT_VALIDATE = 'pickup-point-validate';
36 public const ACTION_ORDER_STATUS_CHANGE = 'order-status-change';
37 public const ACTION_STORED_UNTIL_CHANGE = 'action-stored-until-change';
38
39 public const STATUS_SUCCESS = 'success';
40 public const STATUS_ERROR = 'error';
41
42 /**
43 * Id.
44 *
45 * @var int|null
46 */
47 public $id;
48
49 /**
50 * Order ID.
51 *
52 * @var mixed|null
53 */
54 public $orderId;
55
56 /**
57 * Action.
58 *
59 * @var string
60 */
61 public $action;
62
63 /**
64 * Title.
65 *
66 * @var string
67 */
68 public $title;
69
70 /**
71 * Params.
72 *
73 * @var array<string, mixed>
74 */
75 public $params;
76
77 /**
78 * Data.
79 *
80 * @var \DateTimeImmutable
81 */
82 public $date;
83
84 /**
85 * Status.
86 *
87 * @var string
88 */
89 public $status;
90
91 /**
92 * Note.
93 *
94 * @var string
95 */
96 public $note;
97 }
98