com.bytekast.netsuite.client.EmployeeAccruedTimeAccrualMethod 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 EmployeeAccruedTimeAccrualMethod.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="EmployeeAccruedTimeAccrualMethod">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="_lumpSums"/>
* <enumeration value="_perHourWorked"/>
* <enumeration value="_perPayPeriod"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "EmployeeAccruedTimeAccrualMethod", namespace = "urn:types.employees_2017_1.lists.webservices.netsuite.com")
@XmlEnum
public enum EmployeeAccruedTimeAccrualMethod {
@XmlEnumValue("_lumpSums")
LUMP_SUMS("_lumpSums"),
@XmlEnumValue("_perHourWorked")
PER_HOUR_WORKED("_perHourWorked"),
@XmlEnumValue("_perPayPeriod")
PER_PAY_PERIOD("_perPayPeriod");
private final String value;
EmployeeAccruedTimeAccrualMethod(String v) {
value = v;
}
public String value() {
return value;
}
public static EmployeeAccruedTimeAccrualMethod fromValue(String v) {
for (EmployeeAccruedTimeAccrualMethod c: EmployeeAccruedTimeAccrualMethod.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}