com.ibm.commerce.order.facade.datatypes

Interface PromotionCodeType

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      java.util.List getAssociatedPromotion()
      Returns the value of the 'Associated Promotion' containment reference list.
      java.lang.String getCode()
      Returns the value of the 'Code' attribute.
      com.ibm.commerce.foundation.common.datatypes.PromotionCodeReasonType getReason()
      Returns the value of the 'Reason' containment reference.
      UserDataType getUserData()
      Returns the value of the 'User Data' containment reference.
      void setCode(java.lang.String value)
      Sets the value of the 'Code' attribute.
      void setReason(com.ibm.commerce.foundation.common.datatypes.PromotionCodeReasonType value)
      Sets the value of the 'Reason' containment reference.
      void setUserData(UserDataType value)
      Sets the value of the 'User Data' containment reference.
    • Method Detail

      • setCode

        void setCode(java.lang.String value)
        Sets the value of the 'Code' attribute.
        Parameters:
        value - the new value of the 'Code' attribute.
        See Also:
        getCode()
      • getReason

        com.ibm.commerce.foundation.common.datatypes.PromotionCodeReasonType getReason()
        Returns the value of the 'Reason' containment reference.

        If the meaning of the 'Reason' containment reference isn't clear, there really should be more of a description here...

        Returns:
        the value of the 'Reason' containment reference.
        See Also:
        setReason(PromotionCodeReasonType), OrderPackage.getPromotionCodeType_Reason()
      • setReason

        void setReason(com.ibm.commerce.foundation.common.datatypes.PromotionCodeReasonType value)
        Sets the value of the 'Reason' containment reference.
        Parameters:
        value - the new value of the 'Reason' containment reference.
        See Also:
        getReason()
      • getAssociatedPromotion

        java.util.List getAssociatedPromotion()
        Returns the value of the 'Associated Promotion' containment reference list. The list contents are of type AssociatedPromotionType.

        If the meaning of the 'Associated Promotion' containment reference list isn't clear, there really should be more of a description here...

        Returns:
        the value of the 'Associated Promotion' containment reference list.
        See Also:
        OrderPackage.getPromotionCodeType_AssociatedPromotion()
      • setUserData

        void setUserData(UserDataType value)
        Sets the value of the 'User Data' containment reference.
        Parameters:
        value - the new value of the 'User Data' containment reference.
        See Also:
        getUserData()