
tsg.ns.wsdl.coop.CurrencyCurrencyPrecision Maven / Gradle / Ivy
package tsg.ns.wsdl.coop;
import jakarta.xml.bind.annotation.XmlEnum;
import jakarta.xml.bind.annotation.XmlEnumValue;
import jakarta.xml.bind.annotation.XmlType;
/**
* Java class for CurrencyCurrencyPrecision.
*
*
The following schema fragment specifies the expected content contained within this class.
*
* <simpleType name="CurrencyCurrencyPrecision">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="_two"/>
* <enumeration value="_zero"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "CurrencyCurrencyPrecision", namespace = "urn:types.accounting_2023_1.lists.webservices.netsuite.com")
@XmlEnum
public enum CurrencyCurrencyPrecision {
@XmlEnumValue("_two")
TWO("_two"),
@XmlEnumValue("_zero")
ZERO("_zero");
private final String value;
CurrencyCurrencyPrecision(String v) {
value = v;
}
public String value() {
return value;
}
public static CurrencyCurrencyPrecision fromValue(String v) {
for (CurrencyCurrencyPrecision c: CurrencyCurrencyPrecision.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy