com.ibm.commerce.order.commands

Class ComposeSSFSOrderDataCmdImpl

  • All Implemented Interfaces:
    com.ibm.commerce.command.CacheableECCommand, ECCommand, ECTargetableCommand, TaskCommand, ComposeSSFSOrderDataCmd, 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 ComposeSSFSOrderDataCmdImpl
    extends TaskCommandImpl
    implements ComposeSSFSOrderDataCmd
    This is implementation of the ComposeSSFSOrderDataCmd task command. This method is used to compose SSFSOrderData from SC getCompleteOrderDetails API response

    Input parameters:

    Name Description
    document the document that represents an external order.

    Output parameters:

    Name Description
    orderData The SSFSOrderData that represents an external order.
    See Also:
    Serialized Form
    • Field Detail

      • COPYRIGHT

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

        public static final java.lang.String CLASS_NAME
        Class name used for trace and logging.
    • Constructor Detail

      • ComposeSSFSOrderDataCmdImpl

        public ComposeSSFSOrderDataCmdImpl()
    • Method Detail

      • getOrderData

        public com.ibm.commerce.order.sterling.utils.SSFSOrderData getOrderData()
        This method returns an SSFSOrderData that represents an external order.
        Specified by:
        getOrderData in interface ComposeSSFSOrderDataCmd
        Returns:
        The order data.
      • setOrderDocument

        public void setOrderDocument(org.w3c.dom.Document document)
        This method set the document that represents an external order. The document is returned by external API.
        Specified by:
        setOrderDocument in interface ComposeSSFSOrderDataCmd
        Parameters:
        document -
      • composeOrderData

        public com.ibm.commerce.order.sterling.utils.SSFSOrderData composeOrderData()
                                                                             throws ECException
        This method composes the returned SSFSOrderData.
        Returns:
        The order data. This value will not be null.
        Throws:
        ECException