<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for JPSOAP_RequiredOptionalSupplements StructType
 * @subpackage Structs
 */
class JPSOAP_RequiredOptionalSupplements extends AbstractStructBase
{
    /**
     * The SupplementCategories
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \ArrayType\ArrayOfJPSOAP_IntCodeAttr
     */
    public $SupplementCategories;
    /**
     * The Supplements
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \ArrayType\ArrayOfJPSOAP_IntCodeAttr1
     */
    public $Supplements;
    /**
     * Constructor method for JPSOAP_RequiredOptionalSupplements
     * @uses JPSOAP_RequiredOptionalSupplements::setSupplementCategories()
     * @uses JPSOAP_RequiredOptionalSupplements::setSupplements()
     * @param \ArrayType\ArrayOfJPSOAP_IntCodeAttr $supplementCategories
     * @param \ArrayType\ArrayOfJPSOAP_IntCodeAttr1 $supplements
     */
    public function __construct(\ArrayType\ArrayOfJPSOAP_IntCodeAttr $supplementCategories = null, \ArrayType\ArrayOfJPSOAP_IntCodeAttr1 $supplements = null)
    {
        $this
            ->setSupplementCategories($supplementCategories)
            ->setSupplements($supplements);
    }
    /**
     * Get SupplementCategories value
     * @return \ArrayType\ArrayOfJPSOAP_IntCodeAttr|null
     */
    public function getSupplementCategories()
    {
        return $this->SupplementCategories;
    }
    /**
     * Set SupplementCategories value
     * @param \ArrayType\ArrayOfJPSOAP_IntCodeAttr $supplementCategories
     * @return \StructType\JPSOAP_RequiredOptionalSupplements
     */
    public function setSupplementCategories(\ArrayType\ArrayOfJPSOAP_IntCodeAttr $supplementCategories = null)
    {
        $this->SupplementCategories = $supplementCategories;
        return $this;
    }
    /**
     * Get Supplements value
     * @return \ArrayType\ArrayOfJPSOAP_IntCodeAttr1|null
     */
    public function getSupplements()
    {
        return $this->Supplements;
    }
    /**
     * Set Supplements value
     * @param \ArrayType\ArrayOfJPSOAP_IntCodeAttr1 $supplements
     * @return \StructType\JPSOAP_RequiredOptionalSupplements
     */
    public function setSupplements(\ArrayType\ArrayOfJPSOAP_IntCodeAttr1 $supplements = null)
    {
        $this->Supplements = $supplements;
        return $this;
    }
}
