public class PromotionCode
extends java.lang.Object
Constructor and Description |
---|
PromotionCode(java.lang.String localCode,
java.lang.String localPin,
java.util.Map localAttributes) |
Modifier and Type | Method and Description |
---|---|
java.util.Map |
getAttributes()
Gets the value of the 'attributes' attribute.
|
java.lang.String |
getCode()
Gets the value of the 'code' attribute.
|
java.lang.String |
getPin()
Gets the value of the 'pin' attribute.
|
void |
setAttributes(java.util.Map newAttributes)
Sets the value of the 'attributes' attribute.
|
void |
setCode(java.lang.String newCode)
Sets the value of the 'code' attribute.
|
void |
setPin(java.lang.String newPin)
Sets the value of the 'pin' attribute.
|
public PromotionCode(java.lang.String localCode, java.lang.String localPin, java.util.Map localAttributes)
public java.lang.String getCode()
public void setCode(java.lang.String newCode)
newCode
- the code to setpublic java.lang.String getPin()
public void setPin(java.lang.String newPin)
newPin
- the pin to setpublic java.util.Map getAttributes()
public void setAttributes(java.util.Map newAttributes)
newAttributes
- the attributes to set