<?php

namespace patest\EnumType;

use \WsdlToPhp\PackageBase\AbstractStructEnumBase;

/**
 * This class stands for SellWithoutAllocationsPolicy EnumType
 * Meta information extracted from the WSDL
 * - nillable: true
 * - type: tns:SellWithoutAllocationsPolicy
 * @subpackage Enumerations
 */
class SellWithoutAllocationsPolicy extends AbstractStructEnumBase
{
    /**
     * Constant for value 'OnlyIfNoSeatsAllocatedToUser'
     * @return string 'OnlyIfNoSeatsAllocatedToUser'
     */
    const VALUE_ONLY_IF_NO_SEATS_ALLOCATED_TO_USER = 'OnlyIfNoSeatsAllocatedToUser';
    /**
     * Constant for value 'EvenIfSomeSeatsAllocatedToUser'
     * @return string 'EvenIfSomeSeatsAllocatedToUser'
     */
    const VALUE_EVEN_IF_SOME_SEATS_ALLOCATED_TO_USER = 'EvenIfSomeSeatsAllocatedToUser';
    /**
     * Return allowed values
     * @uses self::VALUE_ONLY_IF_NO_SEATS_ALLOCATED_TO_USER
     * @uses self::VALUE_EVEN_IF_SOME_SEATS_ALLOCATED_TO_USER
     * @return string[]
     */
    public static function getValidValues()
    {
        return array(
            self::VALUE_ONLY_IF_NO_SEATS_ALLOCATED_TO_USER,
            self::VALUE_EVEN_IF_SOME_SEATS_ALLOCATED_TO_USER,
        );
    }
}
