com.retek.component.internet
Interface ExAOrderRequest

All Superinterfaces:
ExAOrderBase

public interface ExAOrderRequest
extends ExAOrderBase

This is a high level interface which maintains order information for the external API.

Retek Inc. Copyright (c) 2003


Field Summary
 
Fields inherited from interface com.retek.component.internet.ExAOrderBase
CANCELLED_STATE, CLOSED_STATE, EMPLOYEE_ORDER_TYPE, GIFT_REGISTRY_SOURCE, INTERNET_SOURCE, NEW_STATE, OPEN_STATE, PENDING_STATE, STANDARD_ORDER_TYPE
 
Method Summary
 void setBannerNumber(java.lang.String bannerNumber)
          Sets the banner number on the order.
 void setBillToAddress(ExAAddress billToAddress)
          This sets the address to which this Order will be billed.
 void setCreatedBy(ExAUser createdBy)
          Sets the RCOM User that is created this request.
 void setCustomerRequest(ExACustomerRequest customerRequest)
          Add the customer's information to this Order.
 void setMediaSourceCode(java.lang.String mediaSourceCode)
          This sets the Media associated with this Order.
 void setOrderSourceCode(java.lang.String orderSourceCode)
          Sets the source code on the order to specify this is an Internet Order.
 void setOrderType(java.lang.String orderType)
          This value is set to differentiate between a Customer order and an Employee/Associate order.
 void setShipToLabelSet(java.util.Set shipToLabelSet)
          ShipToLabels must be set on this Order to hold the OrderLines.
 
Methods inherited from interface com.retek.component.internet.ExAOrderBase
addShipToLabel, clearAllShipToLabels
 

Method Detail

setBannerNumber

public void setBannerNumber(java.lang.String bannerNumber)
Sets the banner number on the order.

Parameters:
bannerNumber -

setOrderSourceCode

public void setOrderSourceCode(java.lang.String orderSourceCode)
Sets the source code on the order to specify this is an Internet Order.

Parameters:
orderSourceCode - Value comes from ExAOrderRequest.INTERNET_SOURCE

setCustomerRequest

public void setCustomerRequest(ExACustomerRequest customerRequest)
Add the customer's information to this Order.

Parameters:
customerRequest - An instance of ExACustomerRequest built with ExARequestManager.buildCustomerRequest().

setShipToLabelSet

public void setShipToLabelSet(java.util.Set shipToLabelSet)
ShipToLabels must be set on this Order to hold the OrderLines.

Parameters:
shipToLabelSet - A Set of ExAShipToLabelRequests, built using ExARequestManager.buildShipToLabelRequest()

setBillToAddress

public void setBillToAddress(ExAAddress billToAddress)
This sets the address to which this Order will be billed.

Parameters:
billToAddress - An instance of ExAAddress, created with new ExAAddress.

setCreatedBy

public void setCreatedBy(ExAUser createdBy)
Sets the RCOM User that is created this request. From this internet, this is most likely a generic Internet User.

Parameters:
createdBy - An instance of ExAUser created by new ExAUser().

setOrderType

public void setOrderType(java.lang.String orderType)
This value is set to differentiate between a Customer order and an Employee/Associate order.

Parameters:
orderType - Set using the value ExAOrderRequest.STANDARD_ORDER_TYPE or ExAOrderRequest.EMPLOYEE_ORDER_TYPE

setMediaSourceCode

public void setMediaSourceCode(java.lang.String mediaSourceCode)
This sets the Media associated with this Order.

Parameters:
mediaSourceCode -


Copyright © 2005 Retek Inc. All Rights Reserved. - Generated at Fri, 01/21/2005 14:25