|
| 1 | +<?php |
| 2 | +namespace FedEx\CloseService\ComplexType; |
| 3 | + |
| 4 | +use FedEx\AbstractComplexType; |
| 5 | + |
| 6 | +/** |
| 7 | + * CloseWithDocumentsReply |
| 8 | + * |
| 9 | + * @author Jeremy Dunn <[email protected]> |
| 10 | + * @package PHP FedEx API wrapper |
| 11 | + * @subpackage Close Service |
| 12 | + * |
| 13 | + * @property \FedEx\CloseService\SimpleType\NotificationSeverityType|string $HighestSeverity |
| 14 | + * @property Notification[] $Notifications |
| 15 | + * @property TransactionDetail $TransactionDetail |
| 16 | + * @property VersionId $Version |
| 17 | + * @property CloseDocument[] $Documents |
| 18 | +
|
| 19 | + */ |
| 20 | +class CloseWithDocumentsReply extends AbstractComplexType |
| 21 | +{ |
| 22 | + /** |
| 23 | + * Name of this complex type |
| 24 | + * |
| 25 | + * @var string |
| 26 | + */ |
| 27 | + protected $name = 'CloseWithDocumentsReply'; |
| 28 | + |
| 29 | + /** |
| 30 | + * Set HighestSeverity |
| 31 | + * |
| 32 | + * @param \FedEx\CloseService\SimpleType\NotificationSeverityType|string $highestSeverity |
| 33 | + * @return $this |
| 34 | + */ |
| 35 | + public function setHighestSeverity($highestSeverity) |
| 36 | + { |
| 37 | + $this->values['HighestSeverity'] = $highestSeverity; |
| 38 | + return $this; |
| 39 | + } |
| 40 | + |
| 41 | + /** |
| 42 | + * Set Notifications |
| 43 | + * |
| 44 | + * @param Notification[] $notifications |
| 45 | + * @return $this |
| 46 | + */ |
| 47 | + public function setNotifications(array $notifications) |
| 48 | + { |
| 49 | + $this->values['Notifications'] = $notifications; |
| 50 | + return $this; |
| 51 | + } |
| 52 | + |
| 53 | + /** |
| 54 | + * Set TransactionDetail |
| 55 | + * |
| 56 | + * @param TransactionDetail $transactionDetail |
| 57 | + * @return $this |
| 58 | + */ |
| 59 | + public function setTransactionDetail(TransactionDetail $transactionDetail) |
| 60 | + { |
| 61 | + $this->values['TransactionDetail'] = $transactionDetail; |
| 62 | + return $this; |
| 63 | + } |
| 64 | + |
| 65 | + /** |
| 66 | + * Set Version |
| 67 | + * |
| 68 | + * @param VersionId $version |
| 69 | + * @return $this |
| 70 | + */ |
| 71 | + public function setVersion(VersionId $version) |
| 72 | + { |
| 73 | + $this->values['Version'] = $version; |
| 74 | + return $this; |
| 75 | + } |
| 76 | + |
| 77 | + /** |
| 78 | + * Set Documents |
| 79 | + * |
| 80 | + * @param CloseDocument[] $documents |
| 81 | + * @return $this |
| 82 | + */ |
| 83 | + public function setDocuments(array $documents) |
| 84 | + { |
| 85 | + $this->values['Documents'] = $documents; |
| 86 | + return $this; |
| 87 | + } |
| 88 | +} |
0 commit comments