<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for JP_TransferItemStaticData StructType
 * @subpackage Structs
 */
class JP_TransferItemStaticData extends AbstractStructBase
{
    /**
     * The InternalTransferSupplierList
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \ArrayType\ArrayOfJP_InternalSupplier1
     */
    public $InternalTransferSupplierList;
    /**
     * The TransferTypeList
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \ArrayType\ArrayOfJP_ServiceType
     */
    public $TransferTypeList;
    /**
     * Constructor method for JP_TransferItemStaticData
     * @uses JP_TransferItemStaticData::setInternalTransferSupplierList()
     * @uses JP_TransferItemStaticData::setTransferTypeList()
     * @param \ArrayType\ArrayOfJP_InternalSupplier1 $internalTransferSupplierList
     * @param \ArrayType\ArrayOfJP_ServiceType $transferTypeList
     */
    public function __construct(\ArrayType\ArrayOfJP_InternalSupplier1 $internalTransferSupplierList = null, \ArrayType\ArrayOfJP_ServiceType $transferTypeList = null)
    {
        $this
            ->setInternalTransferSupplierList($internalTransferSupplierList)
            ->setTransferTypeList($transferTypeList);
    }
    /**
     * Get InternalTransferSupplierList value
     * @return \ArrayType\ArrayOfJP_InternalSupplier1|null
     */
    public function getInternalTransferSupplierList()
    {
        return $this->InternalTransferSupplierList;
    }
    /**
     * Set InternalTransferSupplierList value
     * @param \ArrayType\ArrayOfJP_InternalSupplier1 $internalTransferSupplierList
     * @return \StructType\JP_TransferItemStaticData
     */
    public function setInternalTransferSupplierList(\ArrayType\ArrayOfJP_InternalSupplier1 $internalTransferSupplierList = null)
    {
        $this->InternalTransferSupplierList = $internalTransferSupplierList;
        return $this;
    }
    /**
     * Get TransferTypeList value
     * @return \ArrayType\ArrayOfJP_ServiceType|null
     */
    public function getTransferTypeList()
    {
        return $this->TransferTypeList;
    }
    /**
     * Set TransferTypeList value
     * @param \ArrayType\ArrayOfJP_ServiceType $transferTypeList
     * @return \StructType\JP_TransferItemStaticData
     */
    public function setTransferTypeList(\ArrayType\ArrayOfJP_ServiceType $transferTypeList = null)
    {
        $this->TransferTypeList = $transferTypeList;
        return $this;
    }
    /**
     * Method called when an object has been exported with var_export() functions
     * It allows to return an object instantiated with the values
     * @see AbstractStructBase::__set_state()
     * @uses AbstractStructBase::__set_state()
     * @param array $array the exported values
     * @return \StructType\JP_TransferItemStaticData
     */
    public static function __set_state(array $array)
    {
        return parent::__set_state($array);
    }
    /**
     * Method returning the class name
     * @return string __CLASS__
     */
    public function __toString()
    {
        return __CLASS__;
    }
}
