public class EditRules
extends java.lang.Object
EditRules
. The EditRules would be
evaluated if the business event of editing order amount occurs.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
Constructor and Description |
---|
EditRules() |
Modifier and Type | Method and Description |
---|---|
AddOrderAmount |
getAddOrderAmount()
This method returns the
AddOrderAmount object, which
corresponds to the business event of increasing the order amount. |
ReduceOrderAmount |
getReduceOrderAmount()
This method returns the
ReduceOrderAmount object, which
corresponds to the business event of reducing the order amount. |
ReplacePaymentInstruction |
getReplacePaymentInstruction()
This method returns the
ReplacePaymentInstruction object, which
corresponds to the business event of replacing the payment instruction. |
void |
setAddOrderAmount(AddOrderAmount amount)
This method sets the
AddOrderAmount object, which
corresponds to the business event of increasing the order amount. |
void |
setReduceOrderAmount(ReduceOrderAmount amount)
This method sets the
ReduceOrderAmount object, which
corresponds to the business event of reducing the order amount. |
void |
setReplacePaymentInstruction(ReplacePaymentInstruction instruction)
This method sets the
ReplacePaymentInstruction object, which
corresponds to the business event of replacing the payment instruction. |
java.lang.String |
toString()
This method creates a String representation of the object.
|
public static final java.lang.String COPYRIGHT
public AddOrderAmount getAddOrderAmount()
AddOrderAmount
object, which
corresponds to the business event of increasing the order amount.public ReduceOrderAmount getReduceOrderAmount()
ReduceOrderAmount
object, which
corresponds to the business event of reducing the order amount.public ReplacePaymentInstruction getReplacePaymentInstruction()
ReplacePaymentInstruction
object, which
corresponds to the business event of replacing the payment instruction.public void setAddOrderAmount(AddOrderAmount amount)
AddOrderAmount
object, which
corresponds to the business event of increasing the order amount.amount
- The AddOrderAmount objectpublic void setReduceOrderAmount(ReduceOrderAmount amount)
ReduceOrderAmount
object, which
corresponds to the business event of reducing the order amount.amount
- The ReduceOrderAmount objectpublic void setReplacePaymentInstruction(ReplacePaymentInstruction instruction)
ReplacePaymentInstruction
object, which
corresponds to the business event of replacing the payment instruction.instruction
- The ReplacePaymentInstruction objectpublic java.lang.String toString()
toString
in class java.lang.Object