All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.bytekast.netsuite.client.OpportunityStatus Maven / Gradle / Ivy

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 OpportunityStatus. * *

The following schema fragment specifies the expected content contained within this class. *

*

 * <simpleType name="OpportunityStatus">
 *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *     <enumeration value="_closedLost"/>
 *     <enumeration value="_closedWon"/>
 *     <enumeration value="_inProgress"/>
 *     <enumeration value="_issuedEstimate"/>
 *   </restriction>
 * </simpleType>
 * 
* */ @XmlType(name = "OpportunityStatus", namespace = "urn:types.sales_2017_1.transactions.webservices.netsuite.com") @XmlEnum public enum OpportunityStatus { @XmlEnumValue("_closedLost") CLOSED_LOST("_closedLost"), @XmlEnumValue("_closedWon") CLOSED_WON("_closedWon"), @XmlEnumValue("_inProgress") IN_PROGRESS("_inProgress"), @XmlEnumValue("_issuedEstimate") ISSUED_ESTIMATE("_issuedEstimate"); private final String value; OpportunityStatus(String v) { value = v; } public String value() { return value; } public static OpportunityStatus fromValue(String v) { for (OpportunityStatus c: OpportunityStatus.values()) { if (c.value.equals(v)) { return c; } } throw new IllegalArgumentException(v); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy