com.bytekast.netsuite.client.InventoryItemFraudRisk Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of netsuite-suitetalk Show documentation
Show all versions of netsuite-suitetalk Show documentation
Client API for NetSuite Suitetalk Web Services
The newest version!
package com.bytekast.netsuite.client;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for InventoryItemFraudRisk.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="InventoryItemFraudRisk">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="_high"/>
* <enumeration value="_low"/>
* <enumeration value="_medium"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "InventoryItemFraudRisk", namespace = "urn:types.accounting_2017_1.lists.webservices.netsuite.com")
@XmlEnum
public enum InventoryItemFraudRisk {
@XmlEnumValue("_high")
HIGH("_high"),
@XmlEnumValue("_low")
LOW("_low"),
@XmlEnumValue("_medium")
MEDIUM("_medium");
private final String value;
InventoryItemFraudRisk(String v) {
value = v;
}
public String value() {
return value;
}
public static InventoryItemFraudRisk fromValue(String v) {
for (InventoryItemFraudRisk c: InventoryItemFraudRisk.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}