<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for JP_VisaItemStaticData StructType
 * @subpackage Structs
 */
class JP_VisaItemStaticData extends AbstractStructBase
{
    /**
     * The InternalVisaSupplierList
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \ArrayType\ArrayOfJP_InternalSupplier2
     */
    public $InternalVisaSupplierList;
    /**
     * The VisaTypeList
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \ArrayType\ArrayOfJP_ServiceType
     */
    public $VisaTypeList;
    /**
     * Constructor method for JP_VisaItemStaticData
     * @uses JP_VisaItemStaticData::setInternalVisaSupplierList()
     * @uses JP_VisaItemStaticData::setVisaTypeList()
     * @param \ArrayType\ArrayOfJP_InternalSupplier2 $internalVisaSupplierList
     * @param \ArrayType\ArrayOfJP_ServiceType $visaTypeList
     */
    public function __construct(\ArrayType\ArrayOfJP_InternalSupplier2 $internalVisaSupplierList = null, \ArrayType\ArrayOfJP_ServiceType $visaTypeList = null)
    {
        $this
            ->setInternalVisaSupplierList($internalVisaSupplierList)
            ->setVisaTypeList($visaTypeList);
    }
    /**
     * Get InternalVisaSupplierList value
     * @return \ArrayType\ArrayOfJP_InternalSupplier2|null
     */
    public function getInternalVisaSupplierList()
    {
        return $this->InternalVisaSupplierList;
    }
    /**
     * Set InternalVisaSupplierList value
     * @param \ArrayType\ArrayOfJP_InternalSupplier2 $internalVisaSupplierList
     * @return \StructType\JP_VisaItemStaticData
     */
    public function setInternalVisaSupplierList(\ArrayType\ArrayOfJP_InternalSupplier2 $internalVisaSupplierList = null)
    {
        $this->InternalVisaSupplierList = $internalVisaSupplierList;
        return $this;
    }
    /**
     * Get VisaTypeList value
     * @return \ArrayType\ArrayOfJP_ServiceType|null
     */
    public function getVisaTypeList()
    {
        return $this->VisaTypeList;
    }
    /**
     * Set VisaTypeList value
     * @param \ArrayType\ArrayOfJP_ServiceType $visaTypeList
     * @return \StructType\JP_VisaItemStaticData
     */
    public function setVisaTypeList(\ArrayType\ArrayOfJP_ServiceType $visaTypeList = null)
    {
        $this->VisaTypeList = $visaTypeList;
        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_VisaItemStaticData
     */
    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__;
    }
}
