//----------------------------------------------------
//
// Generated by www.easywsdl.com
// Version: 5.7.0.0
//
// Created by Quasar Development 
//
//---------------------------------------------------


import Foundation

/**
* abstDomain: A17590 (C-0-T13953-A13954-A17590-cpt)
*/

public enum EPA_FdV_AUTHZ_ActInvoiceOverrideCode:Int,CustomStringConvertible
{
    case  COVGE
    case  PYRDELAY
    case  EFORM
    case  FAX
    case  GFTH
    case  LATE
    case  MANUAL
    case  ORTHO
    case  OOJ
    case  PAPER
    case  PIE
    case  REFNR
    case  REPSERV
    case  UNRELAT
    case  VERBAUTH

    static func createWithXml(node:DDXMLNode) -> EPA_FdV_AUTHZ_ActInvoiceOverrideCode?
    {
        return createWithString(value: node.stringValue!)
    }

    static func createWithString(value:String) -> EPA_FdV_AUTHZ_ActInvoiceOverrideCode?
    {
        var i = 0
        while let item = EPA_FdV_AUTHZ_ActInvoiceOverrideCode(rawValue: i) 
        {
            if String(describing: item) == value
            {
                return item
            }
            i += 1
        }
       return nil
    }

    public var stringValue : String
    {
        return description
    }

    public var description : String
    {
        switch self
        {
            case  .COVGE: return "COVGE"
            case  .PYRDELAY: return "PYRDELAY"
            case  .EFORM: return "EFORM"
            case  .FAX: return "FAX"
            case  .GFTH: return "GFTH"
            case  .LATE: return "LATE"
            case  .MANUAL: return "MANUAL"
            case  .ORTHO: return "ORTHO"
            case  .OOJ: return "OOJ"
            case  .PAPER: return "PAPER"
            case  .PIE: return "PIE"
            case  .REFNR: return "REFNR"
            case  .REPSERV: return "REPSERV"
            case  .UNRELAT: return "UNRELAT"
            case  .VERBAUTH: return "VERBAUTH"
        }
    }

    public func getValue() -> Int
    {
        return rawValue
    }

    func serialize(__parent:DDXMLNode)
    {
        __parent.stringValue = stringValue
    }
}


        
