.. rst-class:: phpdoctorst .. role:: php(code) :language: php CompleteStatusResponseShipment ============================== .. php:namespace:: Firstred\PostNL\Entity\Response .. php:class:: CompleteStatusResponseShipment :Parent: :php:class:`Firstred\\PostNL\\Entity\\AbstractEntity` Summary ------- Methods ~~~~~~~ * :php:meth:`public \_\_construct\($Addresses, $Amounts, $Barcode, $Customer, $DeliveryDate, $Dimension, $Events, $Expectation, $Groups, $OldStatuses, $ProductCode, $ProductOptions, $Reference, $Status, $Warnings, $MainBarcode, $ShipmentAmount, $ShipmentCounter, $ProductDescription\)` * :php:meth:`public getAddresses\(\)` * :php:meth:`public setAddresses\($Addresses\)` * :php:meth:`public getAmounts\(\)` * :php:meth:`public setAmounts\($Amounts\)` * :php:meth:`public getBarcode\(\)` * :php:meth:`public setBarcode\($Barcode\)` * :php:meth:`public getCustomer\(\)` * :php:meth:`public setCustomer\($Customer\)` * :php:meth:`public getDimension\(\)` * :php:meth:`public setDimension\($Dimension\)` * :php:meth:`public getEvents\(\)` * :php:meth:`public setEvents\($Events\)` * :php:meth:`public getExpectation\(\)` * :php:meth:`public setExpectation\($Expectation\)` * :php:meth:`public getGroups\(\)` * :php:meth:`public setGroups\($Groups\)` * :php:meth:`public getMainBarcode\(\)` * :php:meth:`public setMainBarcode\($MainBarcode\)` * :php:meth:`public getOldStatuses\(\)` * :php:meth:`public setOldStatuses\($OldStatuses\)` * :php:meth:`public getProductCode\(\)` * :php:meth:`public setProductCode\($ProductCode\)` * :php:meth:`public getProductDescription\(\)` * :php:meth:`public setProductDescription\($ProductDescription\)` * :php:meth:`public getProductOptions\(\)` * :php:meth:`public setProductOptions\($ProductOptions\)` * :php:meth:`public getReference\(\)` * :php:meth:`public setReference\($Reference\)` * :php:meth:`public getShipmentAmount\(\)` * :php:meth:`public setShipmentAmount\($ShipmentAmount\)` * :php:meth:`public getShipmentCounter\(\)` * :php:meth:`public setShipmentCounter\($ShipmentCounter\)` * :php:meth:`public getStatus\(\)` * :php:meth:`public setStatus\($Status\)` * :php:meth:`public getWarnings\(\)` * :php:meth:`public setWarnings\($Warnings\)` * :php:meth:`public getDeliveryDate\(\)` * :php:meth:`public setDeliveryDate\($DeliveryDate\)` * :php:meth:`public static jsonDeserialize\($json\)` Properties ---------- .. php:attr:: protected static Addresses :Type: :any:`\\Firstred\\PostNL\\Entity\\StatusAddress\[\] ` | null .. php:attr:: protected static Amounts :Type: :any:`\\Firstred\\PostNL\\Entity\\Amount\[\] ` | null .. php:attr:: protected static Barcode :Type: string | null .. php:attr:: protected static Customer :Type: :any:`\\Firstred\\PostNL\\Entity\\Customer ` | null .. php:attr:: protected static DeliveryDate :Type: :any:`\\DateTimeInterface ` | null .. php:attr:: protected static Dimension :Type: :any:`\\Firstred\\PostNL\\Entity\\Dimension ` | null .. php:attr:: protected static Events :Type: :any:`\\Firstred\\PostNL\\Entity\\Response\\CompleteStatusResponseEvent\[\] ` | null .. php:attr:: protected static Expectation :Type: :any:`\\Firstred\\PostNL\\Entity\\Expectation ` | null .. php:attr:: protected static Groups :Type: :any:`\\Firstred\\PostNL\\Entity\\Group\[\] ` | null .. php:attr:: protected static MainBarcode :Type: string | null .. php:attr:: protected static OldStatuses :Type: :any:`\\Firstred\\PostNL\\Entity\\Response\\CompleteStatusResponseOldStatus\[\] ` | null .. php:attr:: protected static ProductCode :Type: string | null .. php:attr:: protected static ProductDescription :Type: string | null .. php:attr:: protected static ProductOptions :Type: :any:`\\Firstred\\PostNL\\Entity\\ProductOption\[\] ` | null .. php:attr:: protected static Reference :Type: string | null .. php:attr:: protected static ShipmentAmount :Type: string | null .. php:attr:: protected static ShipmentCounter :Type: string | null .. php:attr:: protected static Status :Type: :any:`\\Firstred\\PostNL\\Entity\\Status ` | null .. php:attr:: protected static Warnings :Type: :any:`\\Firstred\\PostNL\\Entity\\Warning\[\] ` | null Methods ------- .. rst-class:: public .. php:method:: public __construct( $Addresses=null, $Amounts=null, $Barcode=null, $Customer=null, \\DateTimeInterface|string|null $DeliveryDate=null, $Dimension=null, $Events=null, $Expectation=null, $Groups=null, $OldStatuses=null, $ProductCode=null, $ProductOptions=null, $Reference=null, $Status=null, $Warnings=null, $MainBarcode=null, $ShipmentAmount=null, $ShipmentCounter=null, $ProductDescription=null) :Throws: :any:`\\Firstred\\PostNL\\Exception\\InvalidArgumentException ` .. rst-class:: public .. php:method:: public getAddresses() :Returns: :any:`\\Firstred\\PostNL\\Entity\\Address\[\] ` | null .. rst-class:: public .. php:method:: public setAddresses( $Addresses) :Parameters: * **$Addresses** (:any:`Firstred\\PostNL\\Entity\\Amount\[\] ` | null) :Returns: static .. rst-class:: public .. php:method:: public getAmounts() :Returns: :any:`\\Firstred\\PostNL\\Entity\\Amount\[\] ` | null .. rst-class:: public .. php:method:: public setAmounts( $Amounts) :Parameters: * **$Amounts** (array | null) :Returns: static .. rst-class:: public .. php:method:: public getBarcode() :Returns: string | null .. rst-class:: public .. php:method:: public setBarcode( $Barcode) :Parameters: * **$Barcode** (string | null) :Returns: static .. rst-class:: public .. php:method:: public getCustomer() :Returns: :any:`\\Firstred\\PostNL\\Entity\\Customer ` | null .. rst-class:: public .. php:method:: public setCustomer( $Customer) :Parameters: * **$Customer** (:any:`Firstred\\PostNL\\Entity\\Customer ` | null) :Returns: static .. rst-class:: public .. php:method:: public getDimension() :Returns: :any:`\\Firstred\\PostNL\\Entity\\Dimension ` | null .. rst-class:: public .. php:method:: public setDimension( $Dimension) :Parameters: * **$Dimension** (:any:`Firstred\\PostNL\\Entity\\Dimension ` | null) :Returns: static .. rst-class:: public .. php:method:: public getEvents() :Returns: :any:`\\Firstred\\PostNL\\Entity\\Response\\CompleteStatusResponseEvent\[\] ` | null .. rst-class:: public .. php:method:: public setEvents( $Events) :Parameters: * **$Events** (:any:`Firstred\\PostNL\\Entity\\Response\\CompleteStatusResponseEvent\[\] ` | null) :Returns: :any:`\\Firstred\\PostNL\\Entity\\Response\\CompleteStatusResponseShipment ` .. rst-class:: public .. php:method:: public getExpectation() :Returns: :any:`\\Firstred\\PostNL\\Entity\\Expectation ` | null .. rst-class:: public .. php:method:: public setExpectation( $Expectation) :Parameters: * **$Expectation** (:any:`Firstred\\PostNL\\Entity\\Expectation ` | null) :Returns: static .. rst-class:: public .. php:method:: public getGroups() :Returns: :any:`\\Firstred\\PostNL\\Entity\\Group\[\] ` | null .. rst-class:: public .. php:method:: public setGroups( $Groups) :Parameters: * **$Groups** (array | null) :Returns: :any:`\\Firstred\\PostNL\\Entity\\Response\\CompleteStatusResponseShipment ` .. rst-class:: public .. php:method:: public getMainBarcode() :Returns: string | null .. rst-class:: public .. php:method:: public setMainBarcode( $MainBarcode) :Parameters: * **$MainBarcode** (string | null) :Returns: static .. rst-class:: public .. php:method:: public getOldStatuses() :Returns: :any:`\\Firstred\\PostNL\\Entity\\Response\\CompleteStatusResponseOldStatus\[\] ` | null .. rst-class:: public .. php:method:: public setOldStatuses( $OldStatuses) :Parameters: * **$OldStatuses** (:any:`Firstred\\PostNL\\Entity\\Response\\CompleteStatusResponseOldStatus\[\] ` | null) :Returns: static .. rst-class:: public .. php:method:: public getProductCode() :Returns: string | null .. rst-class:: public .. php:method:: public setProductCode( $ProductCode) :Parameters: * **$ProductCode** (string | null) :Returns: static .. rst-class:: public .. php:method:: public getProductDescription() :Returns: string | null .. rst-class:: public .. php:method:: public setProductDescription( $ProductDescription) :Parameters: * **$ProductDescription** (string | null) :Returns: static .. rst-class:: public .. php:method:: public getProductOptions() :Returns: :any:`\\Firstred\\PostNL\\Entity\\ProductOption\[\] ` | null .. rst-class:: public .. php:method:: public setProductOptions( $ProductOptions) :Parameters: * **$ProductOptions** (:any:`Firstred\\PostNL\\Entity\\ProductOption\[\] ` | null) :Returns: static .. rst-class:: public .. php:method:: public getReference() :Returns: string | null .. rst-class:: public .. php:method:: public setReference( $Reference) :Parameters: * **$Reference** (string | null) :Returns: static .. rst-class:: public .. php:method:: public getShipmentAmount() :Returns: string | null .. rst-class:: public .. php:method:: public setShipmentAmount( $ShipmentAmount) :Parameters: * **$ShipmentAmount** (string | null) :Returns: static .. rst-class:: public .. php:method:: public getShipmentCounter() :Returns: string | null .. rst-class:: public .. php:method:: public setShipmentCounter( $ShipmentCounter) :Parameters: * **$ShipmentCounter** (string | null) :Returns: static .. rst-class:: public .. php:method:: public getStatus() :Returns: :any:`\\Firstred\\PostNL\\Entity\\Status ` | null .. rst-class:: public .. php:method:: public setStatus( $Status) :Parameters: * **$Status** (:any:`Firstred\\PostNL\\Entity\\Status ` | null) :Returns: static .. rst-class:: public .. php:method:: public getWarnings() :Returns: :any:`\\Firstred\\PostNL\\Entity\\Warning\[\] ` | null .. rst-class:: public .. php:method:: public setWarnings( $Warnings) :Parameters: * **$Warnings** (array | null) :Returns: static .. rst-class:: public .. php:method:: public getDeliveryDate() :Returns: :any:`\\DateTimeInterface ` | null .. rst-class:: public .. php:method:: public setDeliveryDate(string|\\DateTimeInterface|null $DeliveryDate=null) :Throws: :any:`\\Firstred\\PostNL\\Exception\\InvalidArgumentException ` :Since: 1.2.0 .. rst-class:: public static .. php:method:: public static jsonDeserialize( $json) :Parameters: * **$json** (:any:`stdClass `) :Returns: :any:`\\Firstred\\PostNL\\Entity\\Response\\CompleteStatusResponseShipment ` :Throws: :any:`\\Firstred\\PostNL\\Exception\\DeserializationException ` :Throws: :any:`\\Firstred\\PostNL\\Exception\\NotSupportedException ` :Throws: :any:`\\Firstred\\PostNL\\Exception\\InvalidConfigurationException ` :Throws: :any:`\\Firstred\\PostNL\\Exception\\DeserializationException ` :Throws: :any:`\\Firstred\\PostNL\\Exception\\NotSupportedException ` :Throws: :any:`\\Firstred\\PostNL\\Exception\\InvalidConfigurationException ` :Throws: :any:`\\Firstred\\PostNL\\Exception\\DeserializationException ` :Throws: :any:`\\Firstred\\PostNL\\Exception\\NotSupportedException ` :Throws: :any:`\\Firstred\\PostNL\\Exception\\InvalidConfigurationException ` :Since: 1.2.0