public class

CouponCode

extends Record
java.lang.Object
   ↳ com.netsuite.webservices.platform.core_2013_2.Record
     ↳ com.netsuite.webservices.lists.marketing_2013_2.CouponCode

Class Overview

Java class for CouponCode complex type.

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

 <complexType name="CouponCode">
   <complexContent>
     <extension base="{urn:core_2013_2.platform.webservices.netsuite.com}Record">
       <sequence>
         <element name="promotion" type="{urn:core_2013_2.platform.webservices.netsuite.com}RecordRef"/>
         <element name="code" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="recipient" type="{urn:core_2013_2.platform.webservices.netsuite.com}RecordRef" minOccurs="0"/>
         <element name="dateSent" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
         <element name="used" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
         <element name="useCount" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
       </sequence>
       <attribute name="internalId" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="externalId" type="{http://www.w3.org/2001/XMLSchema}string" />
     </extension>
   </complexContent>
 </complexType>
 

Summary

Fields
protected String code
protected XMLGregorianCalendar dateSent
protected String externalId
protected String internalId
protected RecordRef promotion
protected RecordRef recipient
protected Long useCount
protected Boolean used
[Expand]
Inherited Fields
From class com.netsuite.webservices.platform.core_2013_2.Record
Public Constructors
CouponCode()
Public Methods
String getCode()
Gets the value of the code property.
XMLGregorianCalendar getDateSent()
Gets the value of the dateSent property.
String getExternalId()
Gets the value of the externalId property.
String getInternalId()
Gets the value of the internalId property.
RecordRef getPromotion()
Gets the value of the promotion property.
RecordRef getRecipient()
Gets the value of the recipient property.
Long getUseCount()
Gets the value of the useCount property.
Boolean getUsed()
Gets the value of the used property.
void setCode(String value)
Sets the value of the code property.
void setDateSent(XMLGregorianCalendar value)
Sets the value of the dateSent property.
void setExternalId(String value)
Sets the value of the externalId property.
void setInternalId(String value)
Sets the value of the internalId property.
void setPromotion(RecordRef value)
Sets the value of the promotion property.
void setRecipient(RecordRef value)
Sets the value of the recipient property.
void setUseCount(Long value)
Sets the value of the useCount property.
void setUsed(Boolean value)
Sets the value of the used property.
[Expand]
Inherited Methods
From class com.netsuite.webservices.platform.core_2013_2.Record
From class java.lang.Object

Fields

protected String code

protected XMLGregorianCalendar dateSent

protected String externalId

protected String internalId

protected RecordRef promotion

protected RecordRef recipient

protected Long useCount

protected Boolean used

Public Constructors

public CouponCode ()

Public Methods

public String getCode ()

Gets the value of the code property.

Returns
  • possible object is String

public XMLGregorianCalendar getDateSent ()

Gets the value of the dateSent property.

Returns
  • possible object is XMLGregorianCalendar

public String getExternalId ()

Gets the value of the externalId property.

Returns
  • possible object is String

public String getInternalId ()

Gets the value of the internalId property.

Returns
  • possible object is String

public RecordRef getPromotion ()

Gets the value of the promotion property.

Returns

public RecordRef getRecipient ()

Gets the value of the recipient property.

Returns

public Long getUseCount ()

Gets the value of the useCount property.

Returns
  • possible object is Long

public Boolean getUsed ()

Gets the value of the used property. This getter has been renamed from isUsed() to getUsed() by cxf-xjc-boolean plugin.

Returns
  • possible object is Boolean

public void setCode (String value)

Sets the value of the code property.

Parameters
value Allowed object is String

public void setDateSent (XMLGregorianCalendar value)

Sets the value of the dateSent property.

Parameters
value Allowed object is XMLGregorianCalendar

public void setExternalId (String value)

Sets the value of the externalId property.

Parameters
value Allowed object is String

public void setInternalId (String value)

Sets the value of the internalId property.

Parameters
value Allowed object is String

public void setPromotion (RecordRef value)

Sets the value of the promotion property.

Parameters
value Allowed object is RecordRef

public void setRecipient (RecordRef value)

Sets the value of the recipient property.

Parameters
value Allowed object is RecordRef

public void setUseCount (Long value)

Sets the value of the useCount property.

Parameters
value Allowed object is Long

public void setUsed (Boolean value)

Sets the value of the used property.

Parameters
value Allowed object is Boolean