<?php

namespace patest\EnumType;

use \WsdlToPhp\PackageBase\AbstractStructEnumBase;

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