|
© 2002 BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.beasys.commerce.foundation.SmartValue | +--com.beasys.commerce.ebusiness.order.OrderValue
This class represents the state of Order entity.
Order
,
OrderHome
,
Order.getOrderByValue()
,
Order.setOrderByValue(OrderValue)
, Serialized FormField Summary | |
java.util.List |
adjustmentPresentations
Order Adjustments, mostly discounts, used by the JSP, as a list of OrderDiscountPresentation objects. |
java.sql.Date |
createdDate
Date of creation of the order |
Customer |
customer
A transient reference to the Customer entity |
javax.ejb.Handle |
customerHandle
|
java.lang.String |
identifier
Primary key attribue. |
java.util.Collection |
orderLines
Collection of OrderLine objects associated with this order |
java.lang.String |
orderStatus
Status of the order |
PaymentTransaction |
paymentTransaction
A transient reference to the PaymentTransaction entity |
javax.ejb.Handle |
paymentTransactionHandle
|
Money |
price
Total value of the order |
Money |
shipping
Shipping cost |
com.beasys.commerce.axiom.contact.Address |
shippingAddress
Shipping address |
java.lang.String |
shippingMethod
Shipping method |
java.lang.String |
specialInstructions
Special instructions for shipping |
java.lang.String |
splittingPreference
Order splitting preference |
double |
subtotal
Subtotal of the order |
Money |
tax
Total tax on the order |
Constructor Summary | |
OrderValue()
Constructs an OrderValue object |
Method Summary | |
Money |
getBaseShipping()
The base shipping is not kept in the database currently. |
Money |
getTotal(int totalType)
Gets the order total for the given total type |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
public javax.ejb.Handle customerHandle
public javax.ejb.Handle paymentTransactionHandle
public java.lang.String identifier
public java.sql.Date createdDate
public java.lang.String shippingMethod
public transient Customer customer
public com.beasys.commerce.axiom.contact.Address shippingAddress
public Money shipping
public transient PaymentTransaction paymentTransaction
public java.lang.String orderStatus
public java.util.Collection orderLines
public Money tax
public Money price
public double subtotal
public java.lang.String specialInstructions
public java.lang.String splittingPreference
public java.util.List adjustmentPresentations
Constructor Detail |
public OrderValue()
Method Detail |
public Money getTotal(int totalType) throws InvalidArgumentException
total
- typeOrderConstants
public Money getBaseShipping()
|
© 2002 BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |