public class

IncentiveDetailType

extends Object
java.lang.Object
   ↳ ebay.apis.eblbasecomponents.IncentiveDetailType

Class Overview

Java class for IncentiveDetailType complex type.

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

 <complexType name="IncentiveDetailType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="RedemptionCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="DisplayCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="ProgramId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="IncentiveType" type="{urn:ebay:apis:eBLBaseComponents}IncentiveTypeCodeType" minOccurs="0"/>
         <element name="IncentiveDescription" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="AppliedTo" type="{urn:ebay:apis:eBLBaseComponents}IncentiveAppliedToType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="Status" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="ErrorCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

Summary

Fields
protected List<IncentiveAppliedToType> appliedTo
protected String displayCode
protected String errorCode
protected String incentiveDescription
protected IncentiveTypeCodeType incentiveType
protected String programId
protected String redemptionCode
protected String status
Public Constructors
IncentiveDetailType()
Public Methods
List<IncentiveAppliedToType> getAppliedTo()
Gets the value of the appliedTo property.
String getDisplayCode()
Gets the value of the displayCode property.
String getErrorCode()
Gets the value of the errorCode property.
String getIncentiveDescription()
Gets the value of the incentiveDescription property.
IncentiveTypeCodeType getIncentiveType()
Gets the value of the incentiveType property.
String getProgramId()
Gets the value of the programId property.
String getRedemptionCode()
Gets the value of the redemptionCode property.
String getStatus()
Gets the value of the status property.
void setDisplayCode(String value)
Sets the value of the displayCode property.
void setErrorCode(String value)
Sets the value of the errorCode property.
void setIncentiveDescription(String value)
Sets the value of the incentiveDescription property.
void setIncentiveType(IncentiveTypeCodeType value)
Sets the value of the incentiveType property.
void setProgramId(String value)
Sets the value of the programId property.
void setRedemptionCode(String value)
Sets the value of the redemptionCode property.
void setStatus(String value)
Sets the value of the status property.
[Expand]
Inherited Methods
From class java.lang.Object

Fields

protected List<IncentiveAppliedToType> appliedTo

protected String displayCode

protected String errorCode

protected String incentiveDescription

protected IncentiveTypeCodeType incentiveType

protected String programId

protected String redemptionCode

protected String status

Public Constructors

public IncentiveDetailType ()

Public Methods

public List<IncentiveAppliedToType> getAppliedTo ()

Gets the value of the appliedTo 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 appliedTo property.

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

    getAppliedTo().add(newItem);
 

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

public String getDisplayCode ()

Gets the value of the displayCode property.

Returns
  • possible object is String

public String getErrorCode ()

Gets the value of the errorCode property.

Returns
  • possible object is String

public String getIncentiveDescription ()

Gets the value of the incentiveDescription property.

Returns
  • possible object is String

public IncentiveTypeCodeType getIncentiveType ()

Gets the value of the incentiveType property.

Returns

public String getProgramId ()

Gets the value of the programId property.

Returns
  • possible object is String

public String getRedemptionCode ()

Gets the value of the redemptionCode property.

Returns
  • possible object is String

public String getStatus ()

Gets the value of the status property.

Returns
  • possible object is String

public void setDisplayCode (String value)

Sets the value of the displayCode property.

Parameters
value Allowed object is String

public void setErrorCode (String value)

Sets the value of the errorCode property.

Parameters
value Allowed object is String

public void setIncentiveDescription (String value)

Sets the value of the incentiveDescription property.

Parameters
value Allowed object is String

public void setIncentiveType (IncentiveTypeCodeType value)

Sets the value of the incentiveType property.

Parameters
value Allowed object is IncentiveTypeCodeType

public void setProgramId (String value)

Sets the value of the programId property.

Parameters
value Allowed object is String

public void setRedemptionCode (String value)

Sets the value of the redemptionCode property.

Parameters
value Allowed object is String

public void setStatus (String value)

Sets the value of the status property.

Parameters
value Allowed object is String