<?php

namespace EnumType;

/**
 * This class stands for SummaryFrequencyCodeType EnumType
 * Meta information extracted from the WSDL
 * - documentation: How often the summary is to be delivered.
 * @subpackage Enumerations
 */
class SummaryFrequencyCodeType
{
    /**
     * Constant for value 'EverySunday'
     * Meta information extracted from the WSDL
     * - documentation: Deliver every Sunday.
     * @return string 'EverySunday'
     */
    const VALUE_EVERY_SUNDAY = 'EverySunday';
    /**
     * Constant for value 'EveryMonday'
     * Meta information extracted from the WSDL
     * - documentation: Deliver every Monday.
     * @return string 'EveryMonday'
     */
    const VALUE_EVERY_MONDAY = 'EveryMonday';
    /**
     * Constant for value 'EveryTuesday'
     * Meta information extracted from the WSDL
     * - documentation: Deliver every Tuesday.
     * @return string 'EveryTuesday'
     */
    const VALUE_EVERY_TUESDAY = 'EveryTuesday';
    /**
     * Constant for value 'EveryWednesday'
     * Meta information extracted from the WSDL
     * - documentation: Deliver every Wednesday.
     * @return string 'EveryWednesday'
     */
    const VALUE_EVERY_WEDNESDAY = 'EveryWednesday';
    /**
     * Constant for value 'EveryThursday'
     * Meta information extracted from the WSDL
     * - documentation: Deliver every Thursday.
     * @return string 'EveryThursday'
     */
    const VALUE_EVERY_THURSDAY = 'EveryThursday';
    /**
     * Constant for value 'EveryFriday'
     * Meta information extracted from the WSDL
     * - documentation: Deliver every Friday.
     * @return string 'EveryFriday'
     */
    const VALUE_EVERY_FRIDAY = 'EveryFriday';
    /**
     * Constant for value 'EverySaturday'
     * Meta information extracted from the WSDL
     * - documentation: Deliver every Saturday.
     * @return string 'EverySaturday'
     */
    const VALUE_EVERY_SATURDAY = 'EverySaturday';
    /**
     * Constant for value 'MonthlyOn1st'
     * Meta information extracted from the WSDL
     * - documentation: On day 1 of the month.
     * @return string 'MonthlyOn1st'
     */
    const VALUE_MONTHLY_ON_1_ST = 'MonthlyOn1st';
    /**
     * Constant for value 'MonthlyOn2nd'
     * Meta information extracted from the WSDL
     * - documentation: On day 2 of the month.
     * @return string 'MonthlyOn2nd'
     */
    const VALUE_MONTHLY_ON_2_ND = 'MonthlyOn2nd';
    /**
     * Constant for value 'MonthlyOn3rd'
     * Meta information extracted from the WSDL
     * - documentation: On day 3 of the month.
     * @return string 'MonthlyOn3rd'
     */
    const VALUE_MONTHLY_ON_3_RD = 'MonthlyOn3rd';
    /**
     * Constant for value 'MonthlyOn4th'
     * Meta information extracted from the WSDL
     * - documentation: On day 4 of the month.
     * @return string 'MonthlyOn4th'
     */
    const VALUE_MONTHLY_ON_4_TH = 'MonthlyOn4th';
    /**
     * Constant for value 'MonthlyOn5th'
     * Meta information extracted from the WSDL
     * - documentation: On day 5 of the month.
     * @return string 'MonthlyOn5th'
     */
    const VALUE_MONTHLY_ON_5_TH = 'MonthlyOn5th';
    /**
     * Constant for value 'MonthlyOn6th'
     * Meta information extracted from the WSDL
     * - documentation: On day 6 of the month.
     * @return string 'MonthlyOn6th'
     */
    const VALUE_MONTHLY_ON_6_TH = 'MonthlyOn6th';
    /**
     * Constant for value 'MonthlyOn7th'
     * Meta information extracted from the WSDL
     * - documentation: On day 7 of the month.
     * @return string 'MonthlyOn7th'
     */
    const VALUE_MONTHLY_ON_7_TH = 'MonthlyOn7th';
    /**
     * Constant for value 'MonthlyOn8th'
     * Meta information extracted from the WSDL
     * - documentation: On day 8 of the month.
     * @return string 'MonthlyOn8th'
     */
    const VALUE_MONTHLY_ON_8_TH = 'MonthlyOn8th';
    /**
     * Constant for value 'MonthlyOn9th'
     * Meta information extracted from the WSDL
     * - documentation: On day 9 of the month.
     * @return string 'MonthlyOn9th'
     */
    const VALUE_MONTHLY_ON_9_TH = 'MonthlyOn9th';
    /**
     * Constant for value 'MonthlyOn10th'
     * Meta information extracted from the WSDL
     * - documentation: On day 10 of the month.
     * @return string 'MonthlyOn10th'
     */
    const VALUE_MONTHLY_ON_10_TH = 'MonthlyOn10th';
    /**
     * Constant for value 'MonthlyOn11th'
     * Meta information extracted from the WSDL
     * - documentation: On day 11 of the month.
     * @return string 'MonthlyOn11th'
     */
    const VALUE_MONTHLY_ON_11_TH = 'MonthlyOn11th';
    /**
     * Constant for value 'MonthlyOn12th'
     * Meta information extracted from the WSDL
     * - documentation: On day 12 of the month.
     * @return string 'MonthlyOn12th'
     */
    const VALUE_MONTHLY_ON_12_TH = 'MonthlyOn12th';
    /**
     * Constant for value 'MonthlyOn13th'
     * Meta information extracted from the WSDL
     * - documentation: On day 13 of the month.
     * @return string 'MonthlyOn13th'
     */
    const VALUE_MONTHLY_ON_13_TH = 'MonthlyOn13th';
    /**
     * Constant for value 'MonthlyOn14th'
     * Meta information extracted from the WSDL
     * - documentation: On day 14 of the month.
     * @return string 'MonthlyOn14th'
     */
    const VALUE_MONTHLY_ON_14_TH = 'MonthlyOn14th';
    /**
     * Constant for value 'MonthlyOn15th'
     * Meta information extracted from the WSDL
     * - documentation: On day 15 of the month.
     * @return string 'MonthlyOn15th'
     */
    const VALUE_MONTHLY_ON_15_TH = 'MonthlyOn15th';
    /**
     * Constant for value 'MonthlyOn16th'
     * Meta information extracted from the WSDL
     * - documentation: On day 16 of the month.
     * @return string 'MonthlyOn16th'
     */
    const VALUE_MONTHLY_ON_16_TH = 'MonthlyOn16th';
    /**
     * Constant for value 'MonthlyOn17th'
     * Meta information extracted from the WSDL
     * - documentation: On day 17 of the month.
     * @return string 'MonthlyOn17th'
     */
    const VALUE_MONTHLY_ON_17_TH = 'MonthlyOn17th';
    /**
     * Constant for value 'MonthlyOn18th'
     * Meta information extracted from the WSDL
     * - documentation: On day 18 of the month.
     * @return string 'MonthlyOn18th'
     */
    const VALUE_MONTHLY_ON_18_TH = 'MonthlyOn18th';
    /**
     * Constant for value 'MonthlyOn19th'
     * Meta information extracted from the WSDL
     * - documentation: On day 19 of the month.
     * @return string 'MonthlyOn19th'
     */
    const VALUE_MONTHLY_ON_19_TH = 'MonthlyOn19th';
    /**
     * Constant for value 'MonthlyOn20th'
     * Meta information extracted from the WSDL
     * - documentation: On day 20 of the month.
     * @return string 'MonthlyOn20th'
     */
    const VALUE_MONTHLY_ON_20_TH = 'MonthlyOn20th';
    /**
     * Constant for value 'MonthlyOn21st'
     * Meta information extracted from the WSDL
     * - documentation: On day 21 of the month.
     * @return string 'MonthlyOn21st'
     */
    const VALUE_MONTHLY_ON_21_ST = 'MonthlyOn21st';
    /**
     * Constant for value 'MonthlyOn22nd'
     * Meta information extracted from the WSDL
     * - documentation: On day 22 of the month.
     * @return string 'MonthlyOn22nd'
     */
    const VALUE_MONTHLY_ON_22_ND = 'MonthlyOn22nd';
    /**
     * Constant for value 'MonthlyOn23rd'
     * Meta information extracted from the WSDL
     * - documentation: On day 23 of the month.
     * @return string 'MonthlyOn23rd'
     */
    const VALUE_MONTHLY_ON_23_RD = 'MonthlyOn23rd';
    /**
     * Constant for value 'MonthlyOn24th'
     * Meta information extracted from the WSDL
     * - documentation: On day 24 of the month.
     * @return string 'MonthlyOn24th'
     */
    const VALUE_MONTHLY_ON_24_TH = 'MonthlyOn24th';
    /**
     * Constant for value 'MonthlyOn25th'
     * Meta information extracted from the WSDL
     * - documentation: On day 25 of the month.
     * @return string 'MonthlyOn25th'
     */
    const VALUE_MONTHLY_ON_25_TH = 'MonthlyOn25th';
    /**
     * Constant for value 'MonthlyOn26th'
     * Meta information extracted from the WSDL
     * - documentation: On day 26 of the month.
     * @return string 'MonthlyOn26th'
     */
    const VALUE_MONTHLY_ON_26_TH = 'MonthlyOn26th';
    /**
     * Constant for value 'MonthlyOn27th'
     * Meta information extracted from the WSDL
     * - documentation: On day 27 of the month.
     * @return string 'MonthlyOn27th'
     */
    const VALUE_MONTHLY_ON_27_TH = 'MonthlyOn27th';
    /**
     * Constant for value 'MonthlyOn28th'
     * Meta information extracted from the WSDL
     * - documentation: On day 28 of the month.
     * @return string 'MonthlyOn28th'
     */
    const VALUE_MONTHLY_ON_28_TH = 'MonthlyOn28th';
    /**
     * Constant for value 'MonthlyOn29th'
     * Meta information extracted from the WSDL
     * - documentation: On day 29 of the month.
     * @return string 'MonthlyOn29th'
     */
    const VALUE_MONTHLY_ON_29_TH = 'MonthlyOn29th';
    /**
     * Constant for value 'MonthlyOn30th'
     * Meta information extracted from the WSDL
     * - documentation: On day 30 of the month.
     * @return string 'MonthlyOn30th'
     */
    const VALUE_MONTHLY_ON_30_TH = 'MonthlyOn30th';
    /**
     * Constant for value 'MonthlyOn31st'
     * Meta information extracted from the WSDL
     * - documentation: On day 31 of the month.
     * @return string 'MonthlyOn31st'
     */
    const VALUE_MONTHLY_ON_31_ST = 'MonthlyOn31st';
    /**
     * Constant for value 'Every31Days'
     * Meta information extracted from the WSDL
     * - documentation: Every 31 days.
     * @return string 'Every31Days'
     */
    const VALUE_EVERY_31_DAYS = 'Every31Days';
    /**
     * Constant for value 'Every60Days'
     * Meta information extracted from the WSDL
     * - documentation: Every 60 days.
     * @return string 'Every60Days'
     */
    const VALUE_EVERY_60_DAYS = 'Every60Days';
    /**
     * Constant for value 'CustomCode'
     * @return string 'CustomCode'
     */
    const VALUE_CUSTOM_CODE = 'CustomCode';
    /**
     * Return true if value is allowed
     * @uses self::getValidValues()
     * @param mixed $value value
     * @return bool true|false
     */
    public static function valueIsValid($value)
    {
        return ($value === null) || in_array($value, self::getValidValues(), true);
    }
    /**
     * Return allowed values
     * @uses self::VALUE_EVERY_SUNDAY
     * @uses self::VALUE_EVERY_MONDAY
     * @uses self::VALUE_EVERY_TUESDAY
     * @uses self::VALUE_EVERY_WEDNESDAY
     * @uses self::VALUE_EVERY_THURSDAY
     * @uses self::VALUE_EVERY_FRIDAY
     * @uses self::VALUE_EVERY_SATURDAY
     * @uses self::VALUE_MONTHLY_ON_1_ST
     * @uses self::VALUE_MONTHLY_ON_2_ND
     * @uses self::VALUE_MONTHLY_ON_3_RD
     * @uses self::VALUE_MONTHLY_ON_4_TH
     * @uses self::VALUE_MONTHLY_ON_5_TH
     * @uses self::VALUE_MONTHLY_ON_6_TH
     * @uses self::VALUE_MONTHLY_ON_7_TH
     * @uses self::VALUE_MONTHLY_ON_8_TH
     * @uses self::VALUE_MONTHLY_ON_9_TH
     * @uses self::VALUE_MONTHLY_ON_10_TH
     * @uses self::VALUE_MONTHLY_ON_11_TH
     * @uses self::VALUE_MONTHLY_ON_12_TH
     * @uses self::VALUE_MONTHLY_ON_13_TH
     * @uses self::VALUE_MONTHLY_ON_14_TH
     * @uses self::VALUE_MONTHLY_ON_15_TH
     * @uses self::VALUE_MONTHLY_ON_16_TH
     * @uses self::VALUE_MONTHLY_ON_17_TH
     * @uses self::VALUE_MONTHLY_ON_18_TH
     * @uses self::VALUE_MONTHLY_ON_19_TH
     * @uses self::VALUE_MONTHLY_ON_20_TH
     * @uses self::VALUE_MONTHLY_ON_21_ST
     * @uses self::VALUE_MONTHLY_ON_22_ND
     * @uses self::VALUE_MONTHLY_ON_23_RD
     * @uses self::VALUE_MONTHLY_ON_24_TH
     * @uses self::VALUE_MONTHLY_ON_25_TH
     * @uses self::VALUE_MONTHLY_ON_26_TH
     * @uses self::VALUE_MONTHLY_ON_27_TH
     * @uses self::VALUE_MONTHLY_ON_28_TH
     * @uses self::VALUE_MONTHLY_ON_29_TH
     * @uses self::VALUE_MONTHLY_ON_30_TH
     * @uses self::VALUE_MONTHLY_ON_31_ST
     * @uses self::VALUE_EVERY_31_DAYS
     * @uses self::VALUE_EVERY_60_DAYS
     * @uses self::VALUE_CUSTOM_CODE
     * @return string[]
     */
    public static function getValidValues()
    {
        return array(
            self::VALUE_EVERY_SUNDAY,
            self::VALUE_EVERY_MONDAY,
            self::VALUE_EVERY_TUESDAY,
            self::VALUE_EVERY_WEDNESDAY,
            self::VALUE_EVERY_THURSDAY,
            self::VALUE_EVERY_FRIDAY,
            self::VALUE_EVERY_SATURDAY,
            self::VALUE_MONTHLY_ON_1_ST,
            self::VALUE_MONTHLY_ON_2_ND,
            self::VALUE_MONTHLY_ON_3_RD,
            self::VALUE_MONTHLY_ON_4_TH,
            self::VALUE_MONTHLY_ON_5_TH,
            self::VALUE_MONTHLY_ON_6_TH,
            self::VALUE_MONTHLY_ON_7_TH,
            self::VALUE_MONTHLY_ON_8_TH,
            self::VALUE_MONTHLY_ON_9_TH,
            self::VALUE_MONTHLY_ON_10_TH,
            self::VALUE_MONTHLY_ON_11_TH,
            self::VALUE_MONTHLY_ON_12_TH,
            self::VALUE_MONTHLY_ON_13_TH,
            self::VALUE_MONTHLY_ON_14_TH,
            self::VALUE_MONTHLY_ON_15_TH,
            self::VALUE_MONTHLY_ON_16_TH,
            self::VALUE_MONTHLY_ON_17_TH,
            self::VALUE_MONTHLY_ON_18_TH,
            self::VALUE_MONTHLY_ON_19_TH,
            self::VALUE_MONTHLY_ON_20_TH,
            self::VALUE_MONTHLY_ON_21_ST,
            self::VALUE_MONTHLY_ON_22_ND,
            self::VALUE_MONTHLY_ON_23_RD,
            self::VALUE_MONTHLY_ON_24_TH,
            self::VALUE_MONTHLY_ON_25_TH,
            self::VALUE_MONTHLY_ON_26_TH,
            self::VALUE_MONTHLY_ON_27_TH,
            self::VALUE_MONTHLY_ON_28_TH,
            self::VALUE_MONTHLY_ON_29_TH,
            self::VALUE_MONTHLY_ON_30_TH,
            self::VALUE_MONTHLY_ON_31_ST,
            self::VALUE_EVERY_31_DAYS,
            self::VALUE_EVERY_60_DAYS,
            self::VALUE_CUSTOM_CODE,
        );
    }
    /**
     * Method returning the class name
     * @return string __CLASS__
     */
    public function __toString()
    {
        return __CLASS__;
    }
}
