com.ibm.commerce.edp.parsers.edits

Class EditRules

  • java.lang.Object
    • com.ibm.commerce.edp.parsers.edits.EditRules


  • public class EditRules
    extends java.lang.Object
    This class represents the complex type EditRules. The EditRules would be evaluated if the business event of editing order amount occurs.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      IBM copyright notice field.
    • Constructor Summary

      Constructors 
      Constructor and Description
      EditRules() 
    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        IBM copyright notice field.
        See Also:
        Constant Field Values
    • Constructor Detail

      • EditRules

        public EditRules()
    • Method Detail

      • getAddOrderAmount

        public AddOrderAmount getAddOrderAmount()
        This method returns the AddOrderAmount object, which corresponds to the business event of increasing the order amount.
        Returns:
        addOrderAmount The AddOrderAmount object
      • getReduceOrderAmount

        public ReduceOrderAmount getReduceOrderAmount()
        This method returns the ReduceOrderAmount object, which corresponds to the business event of reducing the order amount.
        Returns:
        The ReduceOrderAmount object
      • getReplacePaymentInstruction

        public ReplacePaymentInstruction getReplacePaymentInstruction()
        This method returns the ReplacePaymentInstruction object, which corresponds to the business event of replacing the payment instruction.
        Returns:
        The ReplacePaymentInstruction object
      • setAddOrderAmount

        public void setAddOrderAmount(AddOrderAmount amount)
        This method sets the AddOrderAmount object, which corresponds to the business event of increasing the order amount.
        Parameters:
        amount - The AddOrderAmount object
      • setReduceOrderAmount

        public void setReduceOrderAmount(ReduceOrderAmount amount)
        This method sets the ReduceOrderAmount object, which corresponds to the business event of reducing the order amount.
        Parameters:
        amount - The ReduceOrderAmount object
      • setReplacePaymentInstruction

        public void setReplacePaymentInstruction(ReplacePaymentInstruction instruction)
        This method sets the ReplacePaymentInstruction object, which corresponds to the business event of replacing the payment instruction.
        Parameters:
        instruction - The ReplacePaymentInstruction object
      • toString

        public java.lang.String toString()
        This method creates a String representation of the object.
        Overrides:
        toString in class java.lang.Object
        Returns:
        The String representation