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

96 lines 2.2 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_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_CUSTOMS_DECLARATION_TABLE_NOT_CREATED = 'customs-declaration-table-not-created';
29 public const ACTION_CUSTOMS_DECLARATION_ITEM_TABLE_NOT_CREATED = 'customs-declaration-item-table-not-created';
30 public const ACTION_SENDER_VALIDATION = 'sender-validation';
31 public const ACTION_PACKET_STATUS_SYNC = 'packet-status-sync';
32 public const ACTION_PACKET_CANCEL = 'packet-cancel';
33 public const ACTION_PICKUP_POINT_VALIDATE = 'pickup-point-validate';
34 public const ACTION_ORDER_STATUS_CHANGE = 'order-status-change';
35 public const ACTION_STORED_UNTIL_CHANGE = 'action-stored-until-change';
36
37 public const STATUS_SUCCESS = 'success';
38 public const STATUS_ERROR = 'error';
39
40 /**
41 * Id.
42 *
43 * @var int|null
44 */
45 public $id;
46
47 /**
48 * Order ID.
49 *
50 * @var mixed|null
51 */
52 public $orderId;
53
54 /**
55 * Action.
56 *
57 * @var string
58 */
59 public $action;
60
61 /**
62 * Title.
63 *
64 * @var string
65 */
66 public $title;
67
68 /**
69 * Params.
70 *
71 * @var array<string, mixed>
72 */
73 public $params;
74
75 /**
76 * Data.
77 *
78 * @var \DateTimeImmutable
79 */
80 public $date;
81
82 /**
83 * Status.
84 *
85 * @var string
86 */
87 public $status;
88
89 /**
90 * Note.
91 *
92 * @var string
93 */
94 public $note;
95 }
96