public class PoolIdAndCode
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
Constructor and Description |
---|
PoolIdAndCode(java.lang.Long promoCodePoolId,
java.lang.String promoCode)
This constructor creates a
PoolIdAndCode object from a
promotion code pool ID and the associated promotion code. |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getPromotionCode()
This method returns the promotion code.
|
java.lang.Long |
getPromotionCodePoolId()
This method returns the promotion code pool ID.
|
java.lang.String |
toString()
Returns a String representation suitable for printing in debug traces.
|
public static final java.lang.String COPYRIGHT
public PoolIdAndCode(java.lang.Long promoCodePoolId, java.lang.String promoCode)
PoolIdAndCode
object from a
promotion code pool ID and the associated promotion code.promoCodePoolId
- The promotion code pool ID.promoCode
- The promotion code.public java.lang.String getPromotionCode()
public java.lang.Long getPromotionCodePoolId()
public java.lang.String toString()
toString
in class java.lang.Object