com.retek.component.customerorder
Class ReturnLineReceiveRequest

java.lang.Object
  extended bycom.retek.component.customerorder.ReturnLineReceiveRequest
All Implemented Interfaces:
java.io.Serializable

public class ReturnLineReceiveRequest
extends java.lang.Object
implements java.io.Serializable

Class which encapsulates data and behavior for representing a request bean for receiving a return line. Specifies which return line to "receive" and its associative return disposition, return quantity and comments. This receive request is used to specify returns to be received for a particular customer order. Request fields: return line (required) supplier return disposition (required) return quantity (required) return warehouse (required) comments (optional) returnPostage (optional)

See Also:
CustomerOrderReturnsManager#receiveReturns(ReturnLineReceiveRequest), Serialized Form

Constructor Summary
ReturnLineReceiveRequest()
           
 
Method Summary
 java.lang.String getComments()
          Return the comments for the receive request.
 DistributedReference getReturnLineRef()
          Return the return line reference for the receive request (for an existing pending return line being returned).
 Money getReturnPostage()
          Return the return postage for the receive request.
 Quantity getReturnQuantity()
          Return the return quantity for the receive request.
 DistributedReference getReturnWarehouseRef()
          Return the physical warehouse reference for the return warehouse for the return line.
 DistributedReference getSupplierReturnDispositionRef()
          Return the supplier return disposition for the receive request.
 void setComments(java.lang.String comments)
          Set the return comments for the receive request.
 void setReturnLine(ReturnLine returnLine)
          Set the return line for the receive request (if this is an existing pending return line being received).
 void setReturnPostage(Money postage)
          Set the return postage for the receive request.
 void setReturnQuantity(Quantity returnQuantity)
          Set the return quantity for the receive request.
 void setReturnWarehouse(Warehouse warehouse)
          Set the physical return warehouse for the return line.
 void setSupplierReturnDisposition(SupplierReturnDisposition supplierReturnDisposition)
          Set the supplier return disposition for the receive request.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReturnLineReceiveRequest

public ReturnLineReceiveRequest()
Method Detail

getComments

public java.lang.String getComments()
Return the comments for the receive request.

Returns:
String return line comments

getReturnLineRef

public DistributedReference getReturnLineRef()
Return the return line reference for the receive request (for an existing pending return line being returned).

Returns:
DistributedReference return line reference

getReturnQuantity

public Quantity getReturnQuantity()
Return the return quantity for the receive request.

Returns:
Quantity return quantity

getSupplierReturnDispositionRef

public DistributedReference getSupplierReturnDispositionRef()
Return the supplier return disposition for the receive request.

Returns:
DistributedReference supplier return disposition

setComments

public void setComments(java.lang.String comments)
Set the return comments for the receive request.

Parameters:
comments - return comments

setReturnLine

public void setReturnLine(ReturnLine returnLine)
Set the return line for the receive request (if this is an existing pending return line being received).

Parameters:
returnLine - existing pending return line

setReturnQuantity

public void setReturnQuantity(Quantity returnQuantity)
Set the return quantity for the receive request.

Parameters:
returnQuantity - return quantity

setSupplierReturnDisposition

public void setSupplierReturnDisposition(SupplierReturnDisposition supplierReturnDisposition)
Set the supplier return disposition for the receive request.

Parameters:
supplierReturnDisposition - supplier return disposition

setReturnPostage

public void setReturnPostage(Money postage)
Set the return postage for the receive request.


getReturnPostage

public Money getReturnPostage()
Return the return postage for the receive request.

Returns:
Money return line postage

getReturnWarehouseRef

public DistributedReference getReturnWarehouseRef()
Return the physical warehouse reference for the return warehouse for the return line.

Returns:
DistributedReference Warehouse reference

setReturnWarehouse

public void setReturnWarehouse(Warehouse warehouse)
Set the physical return warehouse for the return line.

Parameters:
warehouse - return warehouse location


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