public final enum

PromotionCodeApplyDiscountTo

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ com.netsuite.webservices.lists.marketing_2010_2.types.PromotionCodeApplyDiscountTo

Class Overview

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>
 

Summary

Enum Values
PromotionCodeApplyDiscountTo  ALL_SALES   
PromotionCodeApplyDiscountTo  FIRST_SALE_ONLY   
Fields
private final String value
[Expand]
Inherited Fields
From class java.lang.Enum
Public Methods
static PromotionCodeApplyDiscountTo fromValue(String v)
String value()
static PromotionCodeApplyDiscountTo valueOf(String name)
final static PromotionCodeApplyDiscountTo[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final PromotionCodeApplyDiscountTo ALL_SALES

public static final PromotionCodeApplyDiscountTo FIRST_SALE_ONLY

Fields

private final String value

Public Methods

public static PromotionCodeApplyDiscountTo fromValue (String v)

Parameters
v

public String value ()

public static PromotionCodeApplyDiscountTo valueOf (String name)

Parameters
name

public static final PromotionCodeApplyDiscountTo[] values ()