<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

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