com.ibm.commerce.payment.commands

Interface CheckPaymentAcceptCmd

  • 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:
    CheckPaymentAcceptCmdImpl

    Deprecated. 
    Replaced by ReservePaymentCmd

    public interface CheckPaymentAcceptCmd
    extends TaskCommand
    The CheckPaymentAcceptCmd Task Command

    This Task Command is normally called during ReleaseToFulfillment. It checks if the previously approved payment for an order is still valid and if the Approved Amount is the same as the Order Amount.

    The command returns one of three possible answers:

    See Also:
    CheckPaymentAcceptCmdImpl
    • Field Detail

      • COPYRIGHT

        static final java.lang.String COPYRIGHT
        Deprecated. 
        IBM copyright notice field.
        See Also:
        Constant Field Values
      • NAME

        static final java.lang.String NAME
        Deprecated. 
        The name of this command.
        See Also:
        Constant Field Values
      • defaultCommandClassName

        static final java.lang.String defaultCommandClassName
        Deprecated. 
        The default implementation of this command.
        See Also:
        Constant Field Values
      • ERRTASK_NAME

        static final java.lang.String ERRTASK_NAME
        Deprecated. 
        Name of the Error View for this command. The constant value of this field is "CheckPaymentAcceptErrorView".
        See Also:
        Constant Field Values
    • Method Detail

      • setApproveAmount

        void setApproveAmount(java.math.BigDecimal approveAmount)
        Deprecated. 
        Sets the approveAmount property of the command.
        Parameters:
        approveAmount - the approved amount to be checked
      • setOrder

        void setOrder(OrderAccessBean abOrder)
        Deprecated. 
        Sets the order property of the command.
        Parameters:
        abOrder - the OrderAccessBean representing the order for which the approved amount is to be checked
      • setReleaseToFulfillment

        void setReleaseToFulfillment(java.lang.Boolean bRelease)
        Deprecated. 
        Sets the bRelease property of the command.
        Parameters:
        bRelease - true to indicate the checking was requested as part of release to fulfillment