|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.beasys.commerce.foundation.SmartValue
com.beasys.commerce.ebusiness.order.OrderValue
public class OrderValue
This class represents the state of Order entity.
Order
,
OrderHome
,
Order.getOrderByValue()
,
Order.setOrderByValue(OrderValue)
,
Serialized FormField Summary | |
---|---|
List |
adjustmentPresentations
Order Adjustments, mostly discounts, used by the JSP, as a list of OrderDiscountPresentation objects. |
Date |
createdDate
Date of creation of the order |
Customer |
customer
A transient reference to the Customer entity |
javax.ejb.Handle |
customerHandle
|
String |
identifier
Primary key attribue. |
Collection |
orderLines
Collection of OrderLine objects associated with this order |
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 |
String |
shippingMethod
Shipping method |
String |
specialInstructions
Special instructions for shipping |
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 String identifier
public Date createdDate
public String shippingMethod
public transient Customer customer
public com.beasys.commerce.axiom.contact.Address shippingAddress
public Money shipping
public transient PaymentTransaction paymentTransaction
public String orderStatus
public Collection orderLines
public Money tax
public Money price
public double subtotal
public String specialInstructions
public String splittingPreference
public List adjustmentPresentations
Constructor Detail |
---|
public OrderValue()
Method Detail |
---|
public Money getTotal(int totalType) throws InvalidArgumentException
total
- type
InvalidArgumentException
- if an invalid total type parameter is passedOrderConstants
public Money getBaseShipping()
|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |