<?php

namespace patest\EnumType;

use \WsdlToPhp\PackageBase\AbstractStructEnumBase;

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