com.ibm.commerce.price.utils

Class AbstractGetPriceCmdInput

  • java.lang.Object
    • com.ibm.commerce.price.utils.AbstractGetPriceCmdInput
    • Constructor Detail

      • AbstractGetPriceCmdInput

        public AbstractGetPriceCmdInput()
    • Method Detail

      • isBatchMode

        public boolean isBatchMode()
        Description copied from interface: GetPriceCmdInput
        Returns whether the values in this indicate single mode or batch mode will be used. Batch mode is assumed if GetPriceCmdInput.getCatEntries() is not null or empty.
        Specified by:
        isBatchMode in interface GetPriceCmdInput
        Returns:
        True if batch mode will be used, false otherwise.
      • isValid

        public boolean isValid()
        Description copied from interface: GetPriceCmdInput
        Returns whether if this input can be processed by a command. At a minimum, this will check if any catalog entries are defined either in single mode or batch mode.
        Specified by:
        isValid in interface GetPriceCmdInput
        Returns:
        True if this input can be processed, false otherwise.
      • toString

        public java.lang.String toString()
        Returns the string representation of this.
        Overrides:
        toString in class java.lang.Object
        Returns:
        The string representation of this. Will not be null or empty.