<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for JP_PackageList StructType
 * @subpackage Structs
 */
class JP_PackageList extends AbstractStructBase
{
    /**
     * The Packages
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \ArrayType\ArrayOfJP_PackagesCodeList
     */
    public $Packages;
    /**
     * Constructor method for JP_PackageList
     * @uses JP_PackageList::setPackages()
     * @param \ArrayType\ArrayOfJP_PackagesCodeList $packages
     */
    public function __construct(\ArrayType\ArrayOfJP_PackagesCodeList $packages = null)
    {
        $this
            ->setPackages($packages);
    }
    /**
     * Get Packages value
     * @return \ArrayType\ArrayOfJP_PackagesCodeList|null
     */
    public function getPackages()
    {
        return $this->Packages;
    }
    /**
     * Set Packages value
     * @param \ArrayType\ArrayOfJP_PackagesCodeList $packages
     * @return \StructType\JP_PackageList
     */
    public function setPackages(\ArrayType\ArrayOfJP_PackagesCodeList $packages = null)
    {
        $this->Packages = $packages;
        return $this;
    }
}
