com.ibm.commerce.payment.rules.commands

Class DetermineSortedPaymentsVoidCmdImpl

  • All Implemented Interfaces:
    com.ibm.commerce.command.CacheableECCommand, ECCommand, ECTargetableCommand, TaskCommand, DetermineSortedPaymentsCmd, 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 DetermineSortedPaymentsVoidCmdImpl
    extends TaskCommandImpl
    implements DetermineSortedPaymentsCmd
    This is the default implementation class of the DetermineSortedPaymentsCmd command. This class does nothing to the available payments in the payment container. Payments in the payment container will be returned in the order in which they are submitted to the command.
    See Also:
    Serialized Form
    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        The internal copyright field.
        See Also:
        Constant Field Values
    • Constructor Detail

      • DetermineSortedPaymentsVoidCmdImpl

        public DetermineSortedPaymentsVoidCmdImpl()
    • Method Detail

      • getPaymentContainer

        public java.util.Collection getPaymentContainer()
        This method gets the payment container passed in.
        Specified by:
        getPaymentContainer in interface DetermineSortedPaymentsCmd
        Returns:
        the payment container passed in
      • setPaymentContainer

        public void setPaymentContainer(java.util.Collection container)
        This method sets the payment container passed in.
        Specified by:
        setPaymentContainer in interface DetermineSortedPaymentsCmd
        Parameters:
        container - the payment container passed in
      • setOrderId

        public void setOrderId(java.lang.Long orderIdentifier)
        This method sets the current order ID.
        Specified by:
        setOrderId in interface DetermineSortedPaymentsCmd
        Parameters:
        orderIdentifier - the current order ID
      • getOrderId

        public java.lang.Long getOrderId()
        This method returns the current order ID.
        Returns:
        the current order ID