public class

PromotionCodeItemsList

extends Object
java.lang.Object
   ↳ com.netsuite.webservices.lists.marketing_2010_2.PromotionCodeItemsList

Class Overview

Java class for PromotionCodeItemsList complex type.

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

 <complexType name="PromotionCodeItemsList">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="items" type="{urn:marketing_2010_2.lists.webservices.netsuite.com}PromotionCodeItems" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="replaceAll" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
     </restriction>
   </complexContent>
 </complexType>
 

Summary

Fields
protected List<PromotionCodeItems> items
protected Boolean replaceAll
Public Constructors
PromotionCodeItemsList()
Public Methods
List<PromotionCodeItems> getItems()
Gets the value of the items property.
boolean isReplaceAll()
Gets the value of the replaceAll property.
void setReplaceAll(Boolean value)
Sets the value of the replaceAll property.
[Expand]
Inherited Methods
From class java.lang.Object

Fields

protected List<PromotionCodeItems> items

protected Boolean replaceAll

Public Constructors

public PromotionCodeItemsList ()

Public Methods

public List<PromotionCodeItems> getItems ()

Gets the value of the items property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the items property.

For example, to add a new item, do as follows:

    getItems().add(newItem);
 

Objects of the following type(s) are allowed in the list PromotionCodeItems

public boolean isReplaceAll ()

Gets the value of the replaceAll property.

Returns
  • possible object is Boolean

public void setReplaceAll (Boolean value)

Sets the value of the replaceAll property.

Parameters
value Allowed object is Boolean