com.ibm.commerce.returns.commands

Interface CalculateReturnItemCreditForCatEntryCmd

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


    public interface CalculateReturnItemCreditForCatEntryCmd
    extends TaskCommand
    Interface for the command used for calculating the automatic credit for the return merchandise authorization (RMA) item based on a cat entry. The CREDITAMOUNT, ADJUSTMENTCREDIT and charges are calculated. A StoreAccessBean must be passed in the command context

    Inputs

    • CatEntryId (required)
      • Catalog Entry id
    • Quantity (required)
      • quantity of items to return
    • RMAAB (required)
      • RMAccessBean of the RMA
    • RMAItemAB (required)
      • RMAItemAccessBean of the RMA item
    • Field Detail

      • defaultCommandClassName

        static final java.lang.String defaultCommandClassName
        The default implementation class name is "com.ibm.commerce.returns.commands.CalculateReturnItemCreditForCatEntryCmdImpl" .
        See Also:
        Constant Field Values
      • NAME

        static final java.lang.String NAME
        The name of this interface is "com.ibm.commerce.returns.commands.CalculateReturnItemCreditForCataEntryCmd".
        See Also:
        Constant Field Values
    • Method Detail

      • setCatEntryId

        void setCatEntryId(java.lang.Long aCatEntryId)
        Set the catEntry Id.
        Parameters:
        aCatEntryId - The catalog entry Id.
      • setQuantity

        void setQuantity(java.lang.Double aQuantity)
        Set the quantity to be credited.
        Parameters:
        aQuantity - The quantity to be credited.
      • setRMAAB

        void setRMAAB(RMAAccessBean anRMAAB)
        Set the RMA for which the refund is being requested.
        Parameters:
        anRMAAB - The RMA access bean.
      • setRMAItemAB

        void setRMAItemAB(RMAItemAccessBean anRMAItemAB)
        Set the RMA Item access bean which will have its amounts updated.
        Parameters:
        anRMAItemAB - The RMA item access bean.