Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
__construct (\Magento\Shipping\Helper\Data $shippingData, \Magento\Sales\Model\OrderFactory $orderFactory, \Magento\Sales\Api\ShipmentRepositoryInterface $shipmentRepository, \Magento\Shipping\Model\Order\TrackFactory $trackFactory, \Magento\Shipping\Model\ResourceModel\Order\Track\CollectionFactory $trackCollectionFactory, array $data=[]) | |
loadByHash ($hash) | |
getTrackingInfo () | |
getTrackingInfoByOrder () | |
getTrackingInfoByShip () | |
![]() | |
__construct (array $data=[]) | |
addData (array $arr) | |
setData ($key, $value=null) | |
unsetData ($key=null) | |
getData ($key='', $index=null) | |
getDataByPath ($path) | |
getDataByKey ($key) | |
setDataUsingMethod ($key, $args=[]) | |
getDataUsingMethod ($key, $args=null) | |
hasData ($key='') | |
toArray (array $keys=[]) | |
convertToArray (array $keys=[]) | |
toXml (array $keys=[], $rootName='item', $addOpenTag=false, $addCdata=true) | |
convertToXml (array $arrAttributes=[], $rootName='item', $addOpenTag=false, $addCdata=true) | |
toJson (array $keys=[]) | |
convertToJson (array $keys=[]) | |
toString ($format='') | |
__call ($method, $args) | |
isEmpty () | |
serialize ($keys=[], $valueSeparator='=', $fieldSeparator=' ', $quote='"') | |
debug ($data=null, &$objects=[]) | |
offsetSet ($offset, $value) | |
offsetExists ($offset) | |
offsetUnset ($offset) | |
offsetGet ($offset) | |
Protected Member Functions | |
_initShipment () | |
_getTracksCollection (Shipment $shipment) | |
![]() | |
_getData ($key) | |
_underscore ($name) | |
Protected Attributes | |
$_trackingInfo = [] | |
$_shippingData | |
$_orderFactory | |
$shipmentRepository | |
$_trackFactory | |
$_trackCollectionFactory | |
![]() | |
$_data = [] | |
Additional Inherited Members | |
![]() | |
static | $_underscoreCache = [] |
__construct | ( | \Magento\Shipping\Helper\Data | $shippingData, |
\Magento\Sales\Model\OrderFactory | $orderFactory, | ||
\Magento\Sales\Api\ShipmentRepositoryInterface | $shipmentRepository, | ||
\Magento\Shipping\Model\Order\TrackFactory | $trackFactory, | ||
\Magento\Shipping\Model\ResourceModel\Order\Track\CollectionFactory | $trackCollectionFactory, | ||
array | $data = [] |
||
) |
\Magento\Shipping\Helper\Data | $shippingData | |
\Magento\Sales\Model\OrderFactory | $orderFactory | |
\Magento\Sales\Api\ShipmentRepositoryInterface | $shipmentRepository | |
\Magento\Shipping\Model\Order\TrackFactory | $trackFactory | |
\Magento\Shipping\Model\ResourceModel\Order\Track\CollectionFactory | $trackCollectionFactory | |
array | $data |
Definition at line 55 of file Info.php.
|
protected |
Shipment | $shipment |
Definition at line 208 of file Info.php.
|
protected |
Instantiate ship model
getTrackingInfoByOrder | ( | ) |
Retrieve all tracking by order id
Definition at line 145 of file Info.php.
getTrackingInfoByShip | ( | ) |
Retrieve all tracking by ship id
Definition at line 171 of file Info.php.
loadByHash | ( | $hash | ) |