<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for JP_HotelAdditionalElements StructType
 * @subpackage Structs
 */
class JP_HotelAdditionalElements extends AbstractStructBase
{
    /**
     * The HotelSupplements
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \ArrayType\ArrayOfJP_HotelAdditionalElement
     */
    public $HotelSupplements;
    /**
     * The HotelOffers
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \ArrayType\ArrayOfJP_HotelAdditionalElement1
     */
    public $HotelOffers;
    /**
     * Constructor method for JP_HotelAdditionalElements
     * @uses JP_HotelAdditionalElements::setHotelSupplements()
     * @uses JP_HotelAdditionalElements::setHotelOffers()
     * @param \ArrayType\ArrayOfJP_HotelAdditionalElement $hotelSupplements
     * @param \ArrayType\ArrayOfJP_HotelAdditionalElement1 $hotelOffers
     */
    public function __construct(\ArrayType\ArrayOfJP_HotelAdditionalElement $hotelSupplements = null, \ArrayType\ArrayOfJP_HotelAdditionalElement1 $hotelOffers = null)
    {
        $this
            ->setHotelSupplements($hotelSupplements)
            ->setHotelOffers($hotelOffers);
    }
    /**
     * Get HotelSupplements value
     * @return \ArrayType\ArrayOfJP_HotelAdditionalElement|null
     */
    public function getHotelSupplements()
    {
        return $this->HotelSupplements;
    }
    /**
     * Set HotelSupplements value
     * @param \ArrayType\ArrayOfJP_HotelAdditionalElement $hotelSupplements
     * @return \StructType\JP_HotelAdditionalElements
     */
    public function setHotelSupplements(\ArrayType\ArrayOfJP_HotelAdditionalElement $hotelSupplements = null)
    {
        $this->HotelSupplements = $hotelSupplements;
        return $this;
    }
    /**
     * Get HotelOffers value
     * @return \ArrayType\ArrayOfJP_HotelAdditionalElement1|null
     */
    public function getHotelOffers()
    {
        return $this->HotelOffers;
    }
    /**
     * Set HotelOffers value
     * @param \ArrayType\ArrayOfJP_HotelAdditionalElement1 $hotelOffers
     * @return \StructType\JP_HotelAdditionalElements
     */
    public function setHotelOffers(\ArrayType\ArrayOfJP_HotelAdditionalElement1 $hotelOffers = null)
    {
        $this->HotelOffers = $hotelOffers;
        return $this;
    }
}
