<?php

namespace EnumType;

use \WsdlToPhp\PackageBase\AbstractStructEnumBase;

/**
 * This class stands for JPSOAP_ContractRestrictionApplication EnumType
 * @subpackage Enumerations
 */
class JPSOAP_ContractRestrictionApplication extends AbstractStructEnumBase
{
    /**
     * Constant for value 'OnlyAccommodationWithPossiblePackage'
     * @return string 'OnlyAccommodationWithPossiblePackage'
     */
    const VALUE_ONLY_ACCOMMODATION_WITH_POSSIBLE_PACKAGE = 'OnlyAccommodationWithPossiblePackage';
    /**
     * Constant for value 'OnlyAccommodation'
     * @return string 'OnlyAccommodation'
     */
    const VALUE_ONLY_ACCOMMODATION = 'OnlyAccommodation';
    /**
     * Constant for value 'OnlyDynamicPackage'
     * @return string 'OnlyDynamicPackage'
     */
    const VALUE_ONLY_DYNAMIC_PACKAGE = 'OnlyDynamicPackage';
    /**
     * Return allowed values
     * @uses self::VALUE_ONLY_ACCOMMODATION_WITH_POSSIBLE_PACKAGE
     * @uses self::VALUE_ONLY_ACCOMMODATION
     * @uses self::VALUE_ONLY_DYNAMIC_PACKAGE
     * @return string[]
     */
    public static function getValidValues()
    {
        return array(
            self::VALUE_ONLY_ACCOMMODATION_WITH_POSSIBLE_PACKAGE,
            self::VALUE_ONLY_ACCOMMODATION,
            self::VALUE_ONLY_DYNAMIC_PACKAGE,
        );
    }
}
