com.ibm.commerce.order.calculation

Interface GetOrderLevelParameterCmd

  • All Superinterfaces:
    com.ibm.websphere.command.CacheableCommand, com.ibm.commerce.command.CacheableECCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, ECCommand, java.io.Serializable, com.ibm.websphere.command.TargetableCommand, TaskCommand
    All Known Implementing Classes:
    GetOrderLevelParameterCmdImpl


    public interface GetOrderLevelParameterCmd
    extends TaskCommand
    Returns the order level attachment parameter of a particular order.
    • Method Detail

      • getAmount

        java.math.BigDecimal getAmount()
        Gets the adjustment amount.
      • getType

        java.lang.Integer getType()
        Returns the parameter type:
        • 2 - percentage
        • 3 - fixed
      • isOverride

        boolean isOverride()
        Returns whether the directly attached calculation codes will override the indirectly attached calculation codes and the default calculation code.
      • setUsageId

        void setUsageId(java.lang.Integer anUsageId)
        Sets the calculation usage.