This page last changed on Dec 09, 2009 by nickh.

Description

The OrderDataBean stores information about an individual buy or sell order. It is a part of one or more service calls within the StockTrader Business Service contract and the StockTrader Order Processor Service contract.

Members

Name Type Description
orderID Integer Gets the order's unique identifier.
orderType String Gets the type of the order (either buy, sell, or sellEnhanced).
orderStatus String Gets the status of the order (either open, closed, or completed).
openDate Date/Time Gets the date and time that the order was opened.
completionDate Date/Time Gets the date and time that the order was completed.
quantity Floating Point Number Gets the number of shares to buy or sell.
price Floating Point Number Gets the value of a single share of the stock for which the order exists.
orderFee Floating Point Number Gets the value of the fee assessed for placing the order.
symbol String Gets the symbol of the stock being exchanged as part of the order.

Definition in XSD

  <xs:complexType name="OrderDataBean">
    <xs:sequence>
      <xs:element minOccurs="0" name="orderID" type="xs:int" />
      <xs:element minOccurs="0" name="orderType" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="orderStatus" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="openDate" type="xs:dateTime" />
      <xs:element minOccurs="0" name="completionDate" type="xs:dateTime" />
      <xs:element minOccurs="0" name="quantity" type="xs:double" />
      <xs:element minOccurs="0" name="price" type="xs:decimal" />
      <xs:element minOccurs="0" name="orderFee" type="xs:decimal" />
      <xs:element minOccurs="0" name="symbol" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
Description/Prefix Namespace
Target Namespace http://trade.samples.websphere.ibm.com
tns http://trade.samples.websphere.ibm.com
xs http://www.w3.org/2001/XMLSchema
Document generated by Confluence on Jun 22, 2010 14:31