|
© 2005 BEA Systems, Inc. | |||||||||
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
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 |
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 |
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 List adjustmentPresentations
public Date createdDate
public transient Customer customer
public Handle customerHandle
public String identifier
public Collection orderLines
public String orderStatus
public transient PaymentTransaction paymentTransaction
public Handle paymentTransactionHandle
public Money price
public Money shipping
public com.beasys.commerce.axiom.contact.Address shippingAddress
public String shippingMethod
public String specialInstructions
public String splittingPreference
public double subtotal
public Money tax
Constructor Detail |
public OrderValue()
Method Detail |
public Money getBaseShipping()
public Money getTotal(int totalType) throws InvalidArgumentException
InvalidArgumentException
- if an invalid total type parameter is passedOrderConstants
|
© 2005 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |