<?php

namespace patest\EnumType;

use \WsdlToPhp\PackageBase\AbstractStructEnumBase;

/**
 * This class stands for InstallmentUpdateOption EnumType
 * Meta information extracted from the WSDL
 * - nillable: true
 * - type: tns:InstallmentUpdateOption
 * @subpackage Enumerations
 */
class InstallmentUpdateOption extends AbstractStructEnumBase
{
    /**
     * Constant for value 'MoveToDate'
     * @return string 'MoveToDate'
     */
    const VALUE_MOVE_TO_DATE = 'MoveToDate';
    /**
     * Constant for value 'MoveByDays'
     * @return string 'MoveByDays'
     */
    const VALUE_MOVE_BY_DAYS = 'MoveByDays';
    /**
     * Constant for value 'DeleteAndApplyToNextInstallment'
     * @return string 'DeleteAndApplyToNextInstallment'
     */
    const VALUE_DELETE_AND_APPLY_TO_NEXT_INSTALLMENT = 'DeleteAndApplyToNextInstallment';
    /**
     * Constant for value 'DeleteAndSplitAmount'
     * @return string 'DeleteAndSplitAmount'
     */
    const VALUE_DELETE_AND_SPLIT_AMOUNT = 'DeleteAndSplitAmount';
    /**
     * Return allowed values
     * @uses self::VALUE_MOVE_TO_DATE
     * @uses self::VALUE_MOVE_BY_DAYS
     * @uses self::VALUE_DELETE_AND_APPLY_TO_NEXT_INSTALLMENT
     * @uses self::VALUE_DELETE_AND_SPLIT_AMOUNT
     * @return string[]
     */
    public static function getValidValues()
    {
        return array(
            self::VALUE_MOVE_TO_DATE,
            self::VALUE_MOVE_BY_DAYS,
            self::VALUE_DELETE_AND_APPLY_TO_NEXT_INSTALLMENT,
            self::VALUE_DELETE_AND_SPLIT_AMOUNT,
        );
    }
}
