Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
ShipmentTrackInterface.php
Go to the documentation of this file.
1 <?php
6 namespace Magento\Sales\Api\Data;
7 
9 
20 {
24  /*
25  * Entity ID.
26  */
27  const ENTITY_ID = 'entity_id';
28  /*
29  * Parent ID.
30  */
31  const PARENT_ID = 'parent_id';
32  /*
33  * Weight.
34  */
35  const WEIGHT = 'weight';
36  /*
37  * Quantity.
38  */
39  const QTY = 'qty';
40  /*
41  * Order ID.
42  */
43  const ORDER_ID = 'order_id';
44  /*
45  * Track number.
46  */
47  const TRACK_NUMBER = 'track_number';
48  /*
49  * Description.
50  */
51  const DESCRIPTION = 'description';
52  /*
53  * Title.
54  */
55  const TITLE = 'title';
56  /*
57  * Carrier code.
58  */
59  const CARRIER_CODE = 'carrier_code';
60  /*
61  * Created-at timestamp.
62  */
63  const CREATED_AT = 'created_at';
64  /*
65  * Updated-at timestamp.
66  */
67  const UPDATED_AT = 'updated_at';
68 
75  public function setOrderId($id);
76 
82  public function getOrderId();
83 
89  public function getCreatedAt();
90 
97  public function setCreatedAt($createdAt);
98 
104  public function getEntityId();
105 
112  public function setEntityId($entityId);
113 
119  public function getParentId();
120 
126  public function getUpdatedAt();
127 
134  public function setUpdatedAt($timestamp);
135 
142  public function setParentId($id);
143 
150  public function setWeight($weight);
151 
157  public function getWeight();
158 
165  public function setQty($qty);
166 
172  public function getQty();
173 
180  public function setDescription($description);
181 
187  public function getDescription();
188 
194  public function getExtensionAttributes();
195 
202  public function setExtensionAttributes(
203  \Magento\Sales\Api\Data\ShipmentTrackExtensionInterface $extensionAttributes
204  );
205 }
$id
Definition: fieldset.phtml:14
$extensionAttributes
Definition: payment.php:22
setExtensionAttributes(\Magento\Sales\Api\Data\ShipmentTrackExtensionInterface $extensionAttributes)