<?php

namespace patest\EnumType;

use \WsdlToPhp\PackageBase\AbstractStructEnumBase;

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