<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for JP_OptionalDescriptions StructType
 * @subpackage Structs
 */
class JP_OptionalDescriptions extends AbstractStructBase
{
    /**
     * The OptionalFaresDescription
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \StructType\JP_OptionalFaresDescriptions
     */
    public $OptionalFaresDescription;
    /**
     * Constructor method for JP_OptionalDescriptions
     * @uses JP_OptionalDescriptions::setOptionalFaresDescription()
     * @param \StructType\JP_OptionalFaresDescriptions $optionalFaresDescription
     */
    public function __construct(\StructType\JP_OptionalFaresDescriptions $optionalFaresDescription = null)
    {
        $this
            ->setOptionalFaresDescription($optionalFaresDescription);
    }
    /**
     * Get OptionalFaresDescription value
     * @return \StructType\JP_OptionalFaresDescriptions|null
     */
    public function getOptionalFaresDescription()
    {
        return $this->OptionalFaresDescription;
    }
    /**
     * Set OptionalFaresDescription value
     * @param \StructType\JP_OptionalFaresDescriptions $optionalFaresDescription
     * @return \StructType\JP_OptionalDescriptions
     */
    public function setOptionalFaresDescription(\StructType\JP_OptionalFaresDescriptions $optionalFaresDescription = null)
    {
        $this->OptionalFaresDescription = $optionalFaresDescription;
        return $this;
    }
}
