Entity
An Order entity represents an order. An order includes one or more order lines, order status, shipping address, shipping cost, price, special instructions, splitting preferences, date of order, payment information, and the customer who placed this order.
Related Topics
BusinessSmartComponent
, EJBObject
, Entity
, Remote
, RemoteRelationalReference
, Serializable
Method Summary |
public boolean |
|
public boolean |
|
public void |
|
public boolean |
|
public boolean |
|
public boolean |
|
public |
|
public |
|
public |
|
public |
|
public |
|
public |
|
public |
|
public |
|
public |
|
public |
|
public |
|
public |
|
public |
|
public double |
|
public boolean |
|
public int |
|
public int |
|
public boolean |
|
public boolean |
|
public boolean |
|
public void |
|
public void |
|
public void |
|
public void |
|
public void |
|
public void |
|
public void | |
public void |
|
public void |
|
public void |
|
public void |
|
public void |
|
public void |
|
Methods from interface javax.ejb. |
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove |
Methods from interface com.beasys.commerce.foundation. |
|
Method Detail |
public boolean addOrderLines(Adds an order line to the orderOrderLine
element)
throwsRemoteException
RemoteException
public boolean addOrderLinesCollection(Adds all of the elements in the specified collection to this orderCollection
collection)
throwsRemoteException
RemoteException
public void clearOrderLinesCollection()Removes all the order lines
throwsRemoteException
RemoteException
public boolean containsOrderLines(Returns true if the specified order line already exists in this orderOrderLine
element)
throwsRemoteException
RemoteException
public boolean containsOrderLinesCollection(Returns true if this order contains all of the order line elements in the specified collectionCollection
c)
throwsRemoteException
RemoteException
public boolean equalsOrderLinesCollection(Compares the specified object with the collection of order lines for equalityObject
object)
throwsRemoteException
RemoteException
publicReturns the date of creation of the order.Date
getCreatedDate()
throwsRemoteException
RemoteException
publicReturns the remote object reference of customerCustomer
getCustomer()
throwsRemoteException
RemoteException
Related Topics
publicReturns the primary key identifier.String
getIdentifier()
throwsRemoteException
RemoteException
Related Topics
publicReturns an OrderValue object. The OrderValue object represents the state of an Order.OrderValue
getOrderByValue()
throwsRemoteException
RemoteException
publicReturns a collection of all order linesCollection
getOrderLinesCollection()
throwsRemoteException
RemoteException
publicReturns the order statusString
getOrderStatus()
throwsRemoteException
RemoteException
publicReturns the remote object reference of payment transactionPaymentTransaction
getPaymentTransaction()
throwsRemoteException
RemoteException
Related Topics
publicReturns the total price of the orderMoney
getPrice()
throwsRemoteException
RemoteException
publicReturns the shipping cost on the orderMoney
getShipping()
throwsRemoteException
RemoteException
publicReturns the shipping address for the orderAddress
getShippingAddress()
throwsRemoteException
RemoteException
publicReturns a string identifying the shipping method.String
getShippingMethod()
throwsRemoteException
RemoteException
Related Topics
publicReturns special instructions for the orderString
getSpecialInstructions()
throwsRemoteException
RemoteException
publicReturns splitting preferences for the orderString
getSplittingPreference()
throwsRemoteException
RemoteException
public double getSubtotal()Get the value of subtotal
throwsRemoteException
RemoteException
public boolean isOrderLinesCollectionEmpty()Returns true if this order has no order lines
throwsRemoteException
RemoteException
public int orderLinesCollectionHashCode()Returns the hash code value for the collection or order lines
throwsRemoteException
RemoteException
public int orderLinesCollectionSize()Returns the number of elements in this collection
throwsRemoteException
RemoteException
public boolean removeOrderLines(Removes a single instance of the specified order line element from the collection of order lines, if it is presentOrderLine
element)
throwsRemoteException
RemoteException
public boolean removeOrderLinesCollection(Removes all the order lines that are also contained in the specified collectionCollection
collection)
throwsRemoteException
RemoteException
public boolean retainOrderLinesCollection(Retains only order lines that are also contained in the specified collectionCollection
collection)
throwsRemoteException
RemoteException
public void setCreatedDate(Sets the date of creation of the orderDate
createdDate)
throwsRemoteException
RemoteException
public void setCustomer(Sets the remote object reference of customerCustomer
customer)
throwsRemoteException
RemoteException
Related Topics
public void setOrderByValue(Set all of Order's attributes to the passed in value. Note: Primary key attributes are not set.OrderValue
value)
throwsRemoteException
RemoteException
public void setOrderLinesCollection(Sets a collection of order linesCollection
collection)
throwsRemoteException
RemoteException
public void setOrderStatus(Sets the status of the orderString
orderStatus)
throwsRemoteException
RemoteException
public void setPaymentTransaction(Sets the remote object reference of payment transactionPaymentTransaction
paymentTransaction)
throwsRemoteException
RemoteException
Related Topics
public void setPrice(Sets the total price of the orderMoney
price)
throwsRemoteException
RemoteException
public void setShipping(Sets the cost of shipping for the orderMoney
shipping)
throwsRemoteException
RemoteException
public void setShippingAddress(Sets the shipping address for the orderAddress
shippingAddress)
throwsRemoteException
RemoteException
public void setShippingMethod(Sets the shipping methodString
shippingMethod)
throwsRemoteException
RemoteException
Related Topics
public void setSpecialInstructions(Sets special instructions for the orderString
specialInstructions)
throwsRemoteException
RemoteException
public void setSplittingPreference(Sets splitting preferences for the orderString
splittingPreference)
throwsRemoteException
RemoteException
public void setSubtotal(double subtotal)Sets the value of subtotal
throwsRemoteException
RemoteException