|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This is a high level interface which controls access to 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 |
addPayment(ExAPaymentRequest payment)
Adds a payment to this order. |
void |
addReturnLine(ExAReturnLine exaReturnLine)
Adds the ExAReturnLine to the order. |
void |
cancel(ExAOrderCancelReason cancelReason)
Cancels the order with the specified cancelReason. |
java.math.BigDecimal |
getBalance()
The balance on the order. |
java.lang.String |
getBannerNumber()
The banner number. |
ExAAddress |
getBillToAddress()
The ExAAddress of the customer where the invoice will be sent. |
ExAOrderCancelReason |
getCancelReason()
The reason why he order was cancelled. |
ExAUser |
getCreatedBy()
The user who created the order. |
ExACustomer |
getCustomer()
The customer who has placed the order. |
java.lang.String |
getDefaultMediaNumber()
The default media number. |
java.math.BigDecimal |
getGrandTotal()
The total on the order. |
java.lang.String |
getMediaSourceCode()
The default media source code. |
ExAOrderLine |
getOrderLine(int lineNumber)
Returns an ExAOrderLine |
java.util.Set |
getOrderLines()
A set of ExAOrderLine objects. |
java.lang.String |
getOrderNumber()
OrderNumber is the internal RCOM representation of this Order. |
java.lang.String |
getOrderSourceCode()
The default order source code. |
java.lang.String |
getOrderType()
The Order type |
ExAPayment |
getPayment(java.lang.String id)
Returns an ExAPayment object haveing the specified id. |
java.util.Set |
getPayments()
A set of ExAPayment objects. |
java.util.Set |
getReturnLines()
A set of ExAReturnLine objects. |
java.util.Set |
getShipContainers()
A set of ExAShippedContainer objcts. |
java.util.Set |
getShipToLabels()
A set of ExAShipToLabel that holds the ship-to information for each ExAOrderLine. |
java.lang.String |
getState()
State is the representation of the internal RCOM status of this Order. |
java.math.BigDecimal |
getTotalServiceCharge()
Total service charges on the order. |
java.math.BigDecimal |
getTotalShippingCharge()
Total shipping charge on the order. |
java.math.BigDecimal |
getTotalTax()
Total taxes on the order. |
boolean |
isCancelled()
Returns "true" if the order is cancelled. |
boolean |
isExAPended()
Returns "true" if the order was pended using the external API. |
void |
setExAPended(boolean setPended)
Specifies whether this order should be ExA Pended. |
Methods inherited from interface com.retek.component.internet.ExAOrderBase |
---|
addShipToLabel, clearAllShipToLabels |
Method Detail |
public java.lang.String getState()
public java.lang.String getOrderNumber()
public java.lang.String getBannerNumber()
public java.lang.String getDefaultMediaNumber()
public java.lang.String getOrderSourceCode()
public java.lang.String getOrderType()
public ExACustomer getCustomer()
public java.util.Set getShipToLabels()
public ExAAddress getBillToAddress()
public java.util.Set getOrderLines()
public java.util.Set getPayments()
public java.util.Set getShipContainers()
public java.math.BigDecimal getBalance()
public java.math.BigDecimal getGrandTotal()
public java.math.BigDecimal getTotalTax()
public java.math.BigDecimal getTotalServiceCharge()
public java.math.BigDecimal getTotalShippingCharge()
public ExAUser getCreatedBy()
public ExAPayment getPayment(java.lang.String id)
id
- The payment Id.
public void addPayment(ExAPaymentRequest payment)
payment
- public void cancel(ExAOrderCancelReason cancelReason)
cancelReason
- public boolean isCancelled()
public ExAOrderCancelReason getCancelReason()
public ExAOrderLine getOrderLine(int lineNumber)
lineNumber
- The ExAOrderLine number
public void addReturnLine(ExAReturnLine exaReturnLine)
exaReturnLine
- public java.util.Set getReturnLines()
public java.lang.String getMediaSourceCode()
public boolean isExAPended()
public void setExAPended(boolean setPended)
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |