<?php

namespace patest\EnumType;

use \WsdlToPhp\PackageBase\AbstractStructEnumBase;

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