<?php

namespace patest\EnumType;

use \WsdlToPhp\PackageBase\AbstractStructEnumBase;

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