/**
 * ActInvoicePaymentCode.java
 * <p>
 * File generated from the voc::ActInvoicePaymentCode uml Enumeration
 * Generated by IHE - europe, gazelle team
 */
package net.ihe.gazelle.hl7v3.voc;

import jakarta.xml.bind.annotation.XmlEnum;
import jakarta.xml.bind.annotation.XmlEnumValue;
import jakarta.xml.bind.annotation.XmlRootElement;
import jakarta.xml.bind.annotation.XmlType;
/**
 * Description of the enumeration ActInvoicePaymentCode.
 *
 */

@XmlType(name = "ActInvoicePaymentCode")
@XmlEnum
@XmlRootElement(name = "ActInvoicePaymentCode")
public enum ActInvoicePaymentCode {
	@XmlEnumValue("BONUS")
	BONUS("BONUS"),
	@XmlEnumValue("CFWD")
	CFWD("CFWD"),
	@XmlEnumValue("EDU")
	EDU("EDU"),
	@XmlEnumValue("EPYMT")
	EPYMT("EPYMT"),
	@XmlEnumValue("GARN")
	GARN("GARN"),
	@XmlEnumValue("INVOICE")
	INVOICE("INVOICE"),
	@XmlEnumValue("PINV")
	PINV("PINV"),
	@XmlEnumValue("PPRD")
	PPRD("PPRD"),
	@XmlEnumValue("PROA")
	PROA("PROA"),
	@XmlEnumValue("RECOV")
	RECOV("RECOV"),
	@XmlEnumValue("RETRO")
	RETRO("RETRO"),
	@XmlEnumValue("TRAN")
	TRAN("TRAN");
	
	private final String value;

    ActInvoicePaymentCode(String v) {
        value = v;
    }
    
     public String value() {
        return value;
    }

    public static ActInvoicePaymentCode fromValue(String v) {
        for (ActInvoicePaymentCode c: ActInvoicePaymentCode.values()) {
            if (c.value.equals(v)) {
                return c;
            }
        }
        throw new IllegalArgumentException(v);
    }
	
}