com.ibm.commerce.inventory.client.commands

Class GetProductAvailabilityCmdImpl

  • All Implemented Interfaces:
    com.ibm.commerce.command.CacheableECCommand, ECCommand, ECTargetableCommand, TaskCommand, GetProductAvailabilityCmd, com.ibm.websphere.cache.Sizeable, com.ibm.websphere.command.CacheableCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, com.ibm.websphere.command.TargetableCommand, java.io.Serializable


    public class GetProductAvailabilityCmdImpl
    extends TaskCommandImpl
    implements GetProductAvailabilityCmd
    This is the default implementation of the GetProductAvailabilityCmd task command.

    Input parameters:

    Name Description
    SKU the SKU of the product that need get productAvailability
    action the action that need perform

    Output parameters:

    None.

    Behaviour:

    • compose the OrderInventory SDO
    • call inventory facade to invoke productAvailability out bound service
    See Also:
    ProcessOrderInventoryCmdImpl, Serialized Form
    • Field Detail

      • COPYRIGHT

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

        public static final java.lang.String EXPRESSION_LANGUAGE_XPATH
        expression language XPath
        See Also:
        Constant Field Values
    • Constructor Detail

      • GetProductAvailabilityCmdImpl

        public GetProductAvailabilityCmdImpl()
    • Method Detail

      • setAction

        public void setAction(java.lang.String argAction)
        This method sets the action
        Specified by:
        setAction in interface GetProductAvailabilityCmd
        Parameters:
        argAction - The istrAction to set.
      • getShowProductAvailability

        public com.ibm.commerce.inventory.datatypes.ShowProductAvailabilityType getShowProductAvailability()
        This method gets the showProductAvailability
        Specified by:
        getShowProductAvailability in interface GetProductAvailabilityCmd
        Returns:
        Returns the showProductAvailability.
      • setSKU

        public void setSKU(java.lang.String argSku)
        This method sets the istrSKU
        Specified by:
        setSKU in interface GetProductAvailabilityCmd
        Parameters:
        argSku - The istrSKU to set.
      • reset

        public void reset()
        reset
        Specified by:
        reset in interface com.ibm.websphere.command.Command
        Overrides:
        reset in class AbstractECTargetableCommand
      • getAction

        public java.lang.String getAction()
        This method gets the action
        Returns:
        Returns the istrAction.
      • setShowProductAvailability

        public void setShowProductAvailability(com.ibm.commerce.inventory.datatypes.ShowProductAvailabilityType argShowProductAvailability)
        Parameters:
        argShowProductAvailability - The showProductAvailability to set.