<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for GetPlanningModificationsResult_V9 StructType
 * @subpackage Structs
 */
class GetPlanningModificationsResult_V9 extends ExecutionResult
{
    /**
     * The SynchronizedUntilDate
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 1
     * - nillable: true
     * @var string
     */
    public $SynchronizedUntilDate;
    /**
     * The SynchronizedUntilId
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 1
     * - nillable: true
     * @var int
     */
    public $SynchronizedUntilId;
    /**
     * The Trips
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \ArrayType\ArrayOfTripItemResult_V7
     */
    public $Trips;
    /**
     * The Places
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \ArrayType\ArrayOfPlaceItemResult_V6
     */
    public $Places;
    /**
     * The Jobs
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \ArrayType\ArrayOfJobItemResult_V5
     */
    public $Jobs;
    /**
     * The Products
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \ArrayType\ArrayOfProductItemResult_V4
     */
    public $Products;
    /**
     * The Comments
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \ArrayType\ArrayOfCommentHistoricalResult_V4
     */
    public $Comments;
    /**
     * The Anomalies
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \ArrayType\ArrayOfAnomaly_V4
     */
    public $Anomalies;
    /**
     * The Consultations
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \ArrayType\ArrayOfConsultation_V5
     */
    public $Consultations;
    /**
     * The PalletInfos
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \ArrayType\ArrayOfPalletInfo
     */
    public $PalletInfos;
    /**
     * The ExtraInfos
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \ArrayType\ArrayOfExtraInfo_V4
     */
    public $ExtraInfos;
    /**
     * The ScannedDocuments
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \ArrayType\ArrayOfDocument_V6
     */
    public $ScannedDocuments;
    /**
     * Constructor method for GetPlanningModificationsResult_V9
     * @uses GetPlanningModificationsResult_V9::setSynchronizedUntilDate()
     * @uses GetPlanningModificationsResult_V9::setSynchronizedUntilId()
     * @uses GetPlanningModificationsResult_V9::setTrips()
     * @uses GetPlanningModificationsResult_V9::setPlaces()
     * @uses GetPlanningModificationsResult_V9::setJobs()
     * @uses GetPlanningModificationsResult_V9::setProducts()
     * @uses GetPlanningModificationsResult_V9::setComments()
     * @uses GetPlanningModificationsResult_V9::setAnomalies()
     * @uses GetPlanningModificationsResult_V9::setConsultations()
     * @uses GetPlanningModificationsResult_V9::setPalletInfos()
     * @uses GetPlanningModificationsResult_V9::setExtraInfos()
     * @uses GetPlanningModificationsResult_V9::setScannedDocuments()
     * @param string $synchronizedUntilDate
     * @param int $synchronizedUntilId
     * @param \ArrayType\ArrayOfTripItemResult_V7 $trips
     * @param \ArrayType\ArrayOfPlaceItemResult_V6 $places
     * @param \ArrayType\ArrayOfJobItemResult_V5 $jobs
     * @param \ArrayType\ArrayOfProductItemResult_V4 $products
     * @param \ArrayType\ArrayOfCommentHistoricalResult_V4 $comments
     * @param \ArrayType\ArrayOfAnomaly_V4 $anomalies
     * @param \ArrayType\ArrayOfConsultation_V5 $consultations
     * @param \ArrayType\ArrayOfPalletInfo $palletInfos
     * @param \ArrayType\ArrayOfExtraInfo_V4 $extraInfos
     * @param \ArrayType\ArrayOfDocument_V6 $scannedDocuments
     */
    public function __construct($synchronizedUntilDate = null, $synchronizedUntilId = null, \ArrayType\ArrayOfTripItemResult_V7 $trips = null, \ArrayType\ArrayOfPlaceItemResult_V6 $places = null, \ArrayType\ArrayOfJobItemResult_V5 $jobs = null, \ArrayType\ArrayOfProductItemResult_V4 $products = null, \ArrayType\ArrayOfCommentHistoricalResult_V4 $comments = null, \ArrayType\ArrayOfAnomaly_V4 $anomalies = null, \ArrayType\ArrayOfConsultation_V5 $consultations = null, \ArrayType\ArrayOfPalletInfo $palletInfos = null, \ArrayType\ArrayOfExtraInfo_V4 $extraInfos = null, \ArrayType\ArrayOfDocument_V6 $scannedDocuments = null)
    {
        $this
            ->setSynchronizedUntilDate($synchronizedUntilDate)
            ->setSynchronizedUntilId($synchronizedUntilId)
            ->setTrips($trips)
            ->setPlaces($places)
            ->setJobs($jobs)
            ->setProducts($products)
            ->setComments($comments)
            ->setAnomalies($anomalies)
            ->setConsultations($consultations)
            ->setPalletInfos($palletInfos)
            ->setExtraInfos($extraInfos)
            ->setScannedDocuments($scannedDocuments);
    }
    /**
     * Get SynchronizedUntilDate value
     * @return string
     */
    public function getSynchronizedUntilDate()
    {
        return $this->SynchronizedUntilDate;
    }
    /**
     * Set SynchronizedUntilDate value
     * @param string $synchronizedUntilDate
     * @return \StructType\GetPlanningModificationsResult_V9
     */
    public function setSynchronizedUntilDate($synchronizedUntilDate = null)
    {
        // validation for constraint: string
        if (!is_null($synchronizedUntilDate) && !is_string($synchronizedUntilDate)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($synchronizedUntilDate, true), gettype($synchronizedUntilDate)), __LINE__);
        }
        $this->SynchronizedUntilDate = $synchronizedUntilDate;
        return $this;
    }
    /**
     * Get SynchronizedUntilId value
     * @return int
     */
    public function getSynchronizedUntilId()
    {
        return $this->SynchronizedUntilId;
    }
    /**
     * Set SynchronizedUntilId value
     * @param int $synchronizedUntilId
     * @return \StructType\GetPlanningModificationsResult_V9
     */
    public function setSynchronizedUntilId($synchronizedUntilId = null)
    {
        // validation for constraint: int
        if (!is_null($synchronizedUntilId) && !(is_int($synchronizedUntilId) || ctype_digit($synchronizedUntilId))) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide an integer value, %s given', var_export($synchronizedUntilId, true), gettype($synchronizedUntilId)), __LINE__);
        }
        $this->SynchronizedUntilId = $synchronizedUntilId;
        return $this;
    }
    /**
     * Get Trips value
     * @return \ArrayType\ArrayOfTripItemResult_V7|null
     */
    public function getTrips()
    {
        return $this->Trips;
    }
    /**
     * Set Trips value
     * @param \ArrayType\ArrayOfTripItemResult_V7 $trips
     * @return \StructType\GetPlanningModificationsResult_V9
     */
    public function setTrips(\ArrayType\ArrayOfTripItemResult_V7 $trips = null)
    {
        $this->Trips = $trips;
        return $this;
    }
    /**
     * Get Places value
     * @return \ArrayType\ArrayOfPlaceItemResult_V6|null
     */
    public function getPlaces()
    {
        return $this->Places;
    }
    /**
     * Set Places value
     * @param \ArrayType\ArrayOfPlaceItemResult_V6 $places
     * @return \StructType\GetPlanningModificationsResult_V9
     */
    public function setPlaces(\ArrayType\ArrayOfPlaceItemResult_V6 $places = null)
    {
        $this->Places = $places;
        return $this;
    }
    /**
     * Get Jobs value
     * @return \ArrayType\ArrayOfJobItemResult_V5|null
     */
    public function getJobs()
    {
        return $this->Jobs;
    }
    /**
     * Set Jobs value
     * @param \ArrayType\ArrayOfJobItemResult_V5 $jobs
     * @return \StructType\GetPlanningModificationsResult_V9
     */
    public function setJobs(\ArrayType\ArrayOfJobItemResult_V5 $jobs = null)
    {
        $this->Jobs = $jobs;
        return $this;
    }
    /**
     * Get Products value
     * @return \ArrayType\ArrayOfProductItemResult_V4|null
     */
    public function getProducts()
    {
        return $this->Products;
    }
    /**
     * Set Products value
     * @param \ArrayType\ArrayOfProductItemResult_V4 $products
     * @return \StructType\GetPlanningModificationsResult_V9
     */
    public function setProducts(\ArrayType\ArrayOfProductItemResult_V4 $products = null)
    {
        $this->Products = $products;
        return $this;
    }
    /**
     * Get Comments value
     * @return \ArrayType\ArrayOfCommentHistoricalResult_V4|null
     */
    public function getComments()
    {
        return $this->Comments;
    }
    /**
     * Set Comments value
     * @param \ArrayType\ArrayOfCommentHistoricalResult_V4 $comments
     * @return \StructType\GetPlanningModificationsResult_V9
     */
    public function setComments(\ArrayType\ArrayOfCommentHistoricalResult_V4 $comments = null)
    {
        $this->Comments = $comments;
        return $this;
    }
    /**
     * Get Anomalies value
     * @return \ArrayType\ArrayOfAnomaly_V4|null
     */
    public function getAnomalies()
    {
        return $this->Anomalies;
    }
    /**
     * Set Anomalies value
     * @param \ArrayType\ArrayOfAnomaly_V4 $anomalies
     * @return \StructType\GetPlanningModificationsResult_V9
     */
    public function setAnomalies(\ArrayType\ArrayOfAnomaly_V4 $anomalies = null)
    {
        $this->Anomalies = $anomalies;
        return $this;
    }
    /**
     * Get Consultations value
     * @return \ArrayType\ArrayOfConsultation_V5|null
     */
    public function getConsultations()
    {
        return $this->Consultations;
    }
    /**
     * Set Consultations value
     * @param \ArrayType\ArrayOfConsultation_V5 $consultations
     * @return \StructType\GetPlanningModificationsResult_V9
     */
    public function setConsultations(\ArrayType\ArrayOfConsultation_V5 $consultations = null)
    {
        $this->Consultations = $consultations;
        return $this;
    }
    /**
     * Get PalletInfos value
     * @return \ArrayType\ArrayOfPalletInfo|null
     */
    public function getPalletInfos()
    {
        return $this->PalletInfos;
    }
    /**
     * Set PalletInfos value
     * @param \ArrayType\ArrayOfPalletInfo $palletInfos
     * @return \StructType\GetPlanningModificationsResult_V9
     */
    public function setPalletInfos(\ArrayType\ArrayOfPalletInfo $palletInfos = null)
    {
        $this->PalletInfos = $palletInfos;
        return $this;
    }
    /**
     * Get ExtraInfos value
     * @return \ArrayType\ArrayOfExtraInfo_V4|null
     */
    public function getExtraInfos()
    {
        return $this->ExtraInfos;
    }
    /**
     * Set ExtraInfos value
     * @param \ArrayType\ArrayOfExtraInfo_V4 $extraInfos
     * @return \StructType\GetPlanningModificationsResult_V9
     */
    public function setExtraInfos(\ArrayType\ArrayOfExtraInfo_V4 $extraInfos = null)
    {
        $this->ExtraInfos = $extraInfos;
        return $this;
    }
    /**
     * Get ScannedDocuments value
     * @return \ArrayType\ArrayOfDocument_V6|null
     */
    public function getScannedDocuments()
    {
        return $this->ScannedDocuments;
    }
    /**
     * Set ScannedDocuments value
     * @param \ArrayType\ArrayOfDocument_V6 $scannedDocuments
     * @return \StructType\GetPlanningModificationsResult_V9
     */
    public function setScannedDocuments(\ArrayType\ArrayOfDocument_V6 $scannedDocuments = null)
    {
        $this->ScannedDocuments = $scannedDocuments;
        return $this;
    }
}
