Skip to content

Commit 1ca871c

Browse files
authored
Merge pull request #131 from netliva/master
For get all events
2 parents d7a6634 + a1e68f9 commit 1ca871c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

examples/track-by-id.php

+3
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@
2929
// Track 2 shipments
3030
$trackRequest->SelectionDetails = [new ComplexType\TrackSelectionDetail(), new ComplexType\TrackSelectionDetail()];
3131

32+
// For get all events
33+
$trackRequest->ProcessingOptions = [SimpleType\TrackRequestProcessingOptionType::_INCLUDE_DETAILED_SCANS];
34+
3235
// Track shipment 1
3336
$trackRequest->SelectionDetails[0]->PackageIdentifier->Value = $trackingId1;
3437
$trackRequest->SelectionDetails[0]->PackageIdentifier->Type = SimpleType\TrackIdentifierType::_TRACKING_NUMBER_OR_DOORTAG;

0 commit comments

Comments
 (0)