
tsg.ns.wsdl.coop.LandedCostMethod 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 LandedCostMethod.
*
*
The following schema fragment specifies the expected content contained within this class.
*
* <simpleType name="LandedCostMethod">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="_quantity"/>
* <enumeration value="_value"/>
* <enumeration value="_weight"/>
* <enumeration value="_line"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "LandedCostMethod", namespace = "urn:types.common_2023_1.platform.webservices.netsuite.com")
@XmlEnum
public enum LandedCostMethod {
@XmlEnumValue("_quantity")
QUANTITY("_quantity"),
@XmlEnumValue("_value")
VALUE("_value"),
@XmlEnumValue("_weight")
WEIGHT("_weight"),
@XmlEnumValue("_line")
LINE("_line");
private final String value;
LandedCostMethod(String v) {
value = v;
}
public String value() {
return value;
}
public static LandedCostMethod fromValue(String v) {
for (LandedCostMethod c: LandedCostMethod.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy