public class PromotionCodeData
extends java.lang.Object
Constructor and Description |
---|
PromotionCodeData() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCode()
Returns the promotion code
|
java.lang.String[] |
getDescArray()
Returns an array of promotion descriptions.
|
java.lang.String |
getDescription()
Returns description
|
void |
setCode(java.lang.String string)
Sets the promotion code
|
void |
setDescArray(java.lang.String[] strings)
Sets a list of promotion descriptions
|
void |
setDescription(java.lang.String string)
Sets the description
|
public java.lang.String getCode()
public java.lang.String getDescription()
public void setCode(java.lang.String string)
string
- new promotion codepublic void setDescription(java.lang.String string)
string
- new descriptionpublic java.lang.String[] getDescArray()
public void setDescArray(java.lang.String[] strings)
strings
- a list of promotion descriptions to set