com.ibm.commerce.marketing.databeans

Class PromotionCodeData

  • java.lang.Object
    • com.ibm.commerce.marketing.databeans.PromotionCodeData


  • public class PromotionCodeData
    extends java.lang.Object
    This class is the data bean for promotion code.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      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
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PromotionCodeData

        public PromotionCodeData()
    • Method Detail

      • getCode

        public java.lang.String getCode()
        Returns the promotion code
        Returns:
        the promotion code
      • getDescription

        public java.lang.String getDescription()
        Returns description
        Returns:
        description
      • setCode

        public void setCode(java.lang.String string)
        Sets the promotion code
        Parameters:
        string - new promotion code
      • setDescription

        public void setDescription(java.lang.String string)
        Sets the description
        Parameters:
        string - new description
      • getDescArray

        public java.lang.String[] getDescArray()
        Returns an array of promotion descriptions.
        Returns:
        An array of promotion descriptions.
      • setDescArray

        public void setDescArray(java.lang.String[] strings)
        Sets a list of promotion descriptions
        Parameters:
        strings - a list of promotion descriptions to set