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

com.bytekast.netsuite.client.PromotionCodeApplyDiscountTo 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 PromotionCodeApplyDiscountTo. * *

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

*

 * <simpleType name="PromotionCodeApplyDiscountTo">
 *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *     <enumeration value="_allSales"/>
 *     <enumeration value="_firstSaleOnly"/>
 *   </restriction>
 * </simpleType>
 * 
* */ @XmlType(name = "PromotionCodeApplyDiscountTo", namespace = "urn:types.marketing_2017_1.lists.webservices.netsuite.com") @XmlEnum public enum PromotionCodeApplyDiscountTo { @XmlEnumValue("_allSales") ALL_SALES("_allSales"), @XmlEnumValue("_firstSaleOnly") FIRST_SALE_ONLY("_firstSaleOnly"); private final String value; PromotionCodeApplyDiscountTo(String v) { value = v; } public String value() { return value; } public static PromotionCodeApplyDiscountTo fromValue(String v) { for (PromotionCodeApplyDiscountTo c: PromotionCodeApplyDiscountTo.values()) { if (c.value.equals(v)) { return c; } } throw new IllegalArgumentException(v); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy