com.retek.component.customerorder.integration.rib
Class ReturnConfirmationItem

java.lang.Object
  extended bycom.retek.component.customerorder.integration.rib.ReturnConfirmationItem

public class ReturnConfirmationItem
extends java.lang.Object

Class which represents a return confirmation item. This is a wrapper class used to provide behavior around the CustRetItem payload during return confirmation the injection process.


Constructor Summary
ReturnConfirmationItem(DistributedContext context, com.retek.rib.binding.payload.CustRetItem returnItem)
           
 
Method Summary
 void addItemReturnQuantity(ReturnConfirmationItemQuantity itemReturnQuantity)
          Add an item return quantity to the return item.
 java.lang.String getItemId()
          Return the item id for the return item.
 java.util.List getItemReturnQuantities()
          Return the item return quantities for the return item sorted in descending order by return quantity.
 SellableItem getSellableItem()
          Return the item for the return item.
 Quantity getTotalReturnQuantity()
          Return the sum of return quantity for the return item.
 Quantity getTotalUnprocessedReturnQuantity()
          Return the sum of unprocessed return quantity for the return item.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReturnConfirmationItem

public ReturnConfirmationItem(DistributedContext context,
                              com.retek.rib.binding.payload.CustRetItem returnItem)
Method Detail

getItemId

public java.lang.String getItemId()
Return the item id for the return item.

Returns:
item id

getItemReturnQuantities

public java.util.List getItemReturnQuantities()
Return the item return quantities for the return item sorted in descending order by return quantity.

Returns:
item return quantities

addItemReturnQuantity

public void addItemReturnQuantity(ReturnConfirmationItemQuantity itemReturnQuantity)
Add an item return quantity to the return item.

Parameters:
itemReturnQuantity - to add

getTotalUnprocessedReturnQuantity

public Quantity getTotalUnprocessedReturnQuantity()
Return the sum of unprocessed return quantity for the return item.

Returns:
total unprocessed return quantity

getTotalReturnQuantity

public Quantity getTotalReturnQuantity()
Return the sum of return quantity for the return item.

Returns:
total return quantity

getSellableItem

public SellableItem getSellableItem()
                             throws SystemException
Return the item for the return item.

Returns:
item
Throws:
SystemException


Copyright © 2004 Retek Inc. All Rights Reserved. - Generated at Fri, 10/22/2004 07:28