|
33 | 33 | * @property Dimensions $PackageDimensions |
34 | 34 | * @property Weight $PackageDimensionalWeight |
35 | 35 | * @property Weight $ShipmentWeight |
36 | | - * @property string $Packaging |
37 | | - * @property \FedEx\TrackService\SimpleType\PackagingType|string $PackagingType |
| 36 | + * @property TrackPackagingDescriptionDetail $Packaging |
38 | 37 | * @property \FedEx\TrackService\SimpleType\PhysicalPackagingType|string $PhysicalPackagingType |
39 | 38 | * @property int $PackageSequenceNumber |
40 | 39 | * @property int $PackageCount |
| 40 | + * @property int $ShipmentContentPieceCount |
| 41 | + * @property int $PackageContentPieceCount |
41 | 42 | * @property string $CreatorSoftwareId |
42 | 43 | * @property TrackChargeDetail[] $Charges |
43 | 44 | * @property string $NickName |
|
46 | 47 | * @property ContentRecord[] $ShipmentContents |
47 | 48 | * @property string[] $PackageContents |
48 | 49 | * @property string $ClearanceLocationCode |
| 50 | + * @property \FedEx\TrackService\SimpleType\ClearanceBrokerageType|string $ClearanceBrokerage |
49 | 51 | * @property Commodity[] $Commodities |
50 | 52 | * @property TrackReturnDetail $ReturnDetail |
51 | 53 | * @property CustomsOptionDetail[] $CustomsOptionDetails |
@@ -372,29 +374,17 @@ public function setShipmentWeight(Weight $shipmentWeight) |
372 | 374 | } |
373 | 375 |
|
374 | 376 | /** |
375 | | - * Retained for legacy compatibility only. |
| 377 | + * Specifies details about packaging such as packaging description and type. |
376 | 378 | * |
377 | | - * @param string $packaging |
| 379 | + * @param TrackPackagingDescriptionDetail $packaging |
378 | 380 | * @return $this |
379 | 381 | */ |
380 | | - public function setPackaging($packaging) |
| 382 | + public function setPackaging(TrackPackagingDescriptionDetail $packaging) |
381 | 383 | { |
382 | 384 | $this->values['Packaging'] = $packaging; |
383 | 385 | return $this; |
384 | 386 | } |
385 | 387 |
|
386 | | - /** |
387 | | - * Strict representation of the Packaging type (e.g. FEDEX_BOX, YOUR_PACKAGING). |
388 | | - * |
389 | | - * @param \FedEx\TrackService\SimpleType\PackagingType|string $packagingType |
390 | | - * @return $this |
391 | | - */ |
392 | | - public function setPackagingType($packagingType) |
393 | | - { |
394 | | - $this->values['PackagingType'] = $packagingType; |
395 | | - return $this; |
396 | | - } |
397 | | - |
398 | 388 | /** |
399 | 389 | * Set PhysicalPackagingType |
400 | 390 | * |
@@ -431,6 +421,30 @@ public function setPackageCount($packageCount) |
431 | 421 | return $this; |
432 | 422 | } |
433 | 423 |
|
| 424 | + /** |
| 425 | + * Set ShipmentContentPieceCount |
| 426 | + * |
| 427 | + * @param int $shipmentContentPieceCount |
| 428 | + * @return $this |
| 429 | + */ |
| 430 | + public function setShipmentContentPieceCount($shipmentContentPieceCount) |
| 431 | + { |
| 432 | + $this->values['ShipmentContentPieceCount'] = $shipmentContentPieceCount; |
| 433 | + return $this; |
| 434 | + } |
| 435 | + |
| 436 | + /** |
| 437 | + * Set PackageContentPieceCount |
| 438 | + * |
| 439 | + * @param int $packageContentPieceCount |
| 440 | + * @return $this |
| 441 | + */ |
| 442 | + public function setPackageContentPieceCount($packageContentPieceCount) |
| 443 | + { |
| 444 | + $this->values['PackageContentPieceCount'] = $packageContentPieceCount; |
| 445 | + return $this; |
| 446 | + } |
| 447 | + |
434 | 448 | /** |
435 | 449 | * FOR FEDEX INTERNAL USE ONLY: Specifies the software id of the device that was used to create this tracked shipment. |
436 | 450 | * |
@@ -527,6 +541,18 @@ public function setClearanceLocationCode($clearanceLocationCode) |
527 | 541 | return $this; |
528 | 542 | } |
529 | 543 |
|
| 544 | + /** |
| 545 | + * Set ClearanceBrokerage |
| 546 | + * |
| 547 | + * @param \FedEx\TrackService\SimpleType\ClearanceBrokerageType|string $clearanceBrokerage |
| 548 | + * @return $this |
| 549 | + */ |
| 550 | + public function setClearanceBrokerage($clearanceBrokerage) |
| 551 | + { |
| 552 | + $this->values['ClearanceBrokerage'] = $clearanceBrokerage; |
| 553 | + return $this; |
| 554 | + } |
| 555 | + |
530 | 556 | /** |
531 | 557 | * Set Commodities |
532 | 558 | * |
|
0 commit comments