public class

PartnerPromoCode

extends Object
java.lang.Object
   ↳ com.netsuite.webservices.lists.relationships_2010_2.PartnerPromoCode

Class Overview

Java class for PartnerPromoCode complex type.

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

 <complexType name="PartnerPromoCode">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="promoCode" type="{urn:core_2010_2.platform.webservices.netsuite.com}RecordRef" minOccurs="0"/>
         <element name="discount" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="endDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

Summary

Fields
protected String discount
protected XMLGregorianCalendar endDate
protected RecordRef promoCode
Public Constructors
PartnerPromoCode()
Public Methods
String getDiscount()
Gets the value of the discount property.
XMLGregorianCalendar getEndDate()
Gets the value of the endDate property.
RecordRef getPromoCode()
Gets the value of the promoCode property.
void setDiscount(String value)
Sets the value of the discount property.
void setEndDate(XMLGregorianCalendar value)
Sets the value of the endDate property.
void setPromoCode(RecordRef value)
Sets the value of the promoCode property.
[Expand]
Inherited Methods
From class java.lang.Object

Fields

protected String discount

protected XMLGregorianCalendar endDate

protected RecordRef promoCode

Public Constructors

public PartnerPromoCode ()

Public Methods

public String getDiscount ()

Gets the value of the discount property.

Returns
  • possible object is String

public XMLGregorianCalendar getEndDate ()

Gets the value of the endDate property.

Returns
  • possible object is XMLGregorianCalendar

public RecordRef getPromoCode ()

Gets the value of the promoCode property.

Returns

public void setDiscount (String value)

Sets the value of the discount property.

Parameters
value Allowed object is String

public void setEndDate (XMLGregorianCalendar value)

Sets the value of the endDate property.

Parameters
value Allowed object is XMLGregorianCalendar

public void setPromoCode (RecordRef value)

Sets the value of the promoCode property.

Parameters
value Allowed object is RecordRef