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