<?php

namespace patest\EnumType;

use \WsdlToPhp\PackageBase\AbstractStructEnumBase;

/**
 * This class stands for StockType EnumType
 * Meta information extracted from the WSDL
 * - nillable: true
 * - type: tns:StockType
 * @subpackage Enumerations
 */
class StockType extends AbstractStructEnumBase
{
    /**
     * Constant for value 'Diminishing'
     * @return string 'Diminishing'
     */
    const VALUE_DIMINISHING = 'Diminishing';
    /**
     * Constant for value 'DiminishingStrict'
     * @return string 'DiminishingStrict'
     */
    const VALUE_DIMINISHING_STRICT = 'DiminishingStrict';
    /**
     * Constant for value 'NonDiminishing'
     * @return string 'NonDiminishing'
     */
    const VALUE_NON_DIMINISHING = 'NonDiminishing';
    /**
     * Constant for value 'ThirdParty'
     * @return string 'ThirdParty'
     */
    const VALUE_THIRD_PARTY = 'ThirdParty';
    /**
     * Return allowed values
     * @uses self::VALUE_DIMINISHING
     * @uses self::VALUE_DIMINISHING_STRICT
     * @uses self::VALUE_NON_DIMINISHING
     * @uses self::VALUE_THIRD_PARTY
     * @return string[]
     */
    public static function getValidValues()
    {
        return array(
            self::VALUE_DIMINISHING,
            self::VALUE_DIMINISHING_STRICT,
            self::VALUE_NON_DIMINISHING,
            self::VALUE_THIRD_PARTY,
        );
    }
}
