Description

The HoldingDataBean stores information about an individual holding. A holding is a set of shares that were obtained together as part of a single buy order. Each Holding is created as a result of a single buy order, but can be sold over multiple sell orders. It is a part of one or more service calls within the StockTrader Business Service contract.

Members

Name

Type

Description

holdingID

Integer

Gets the holding's unique identifier.

quantity

Floating Point Number

Gets the number of shares contained in the holding.

purchasePrice

Floating Point Number

Gets the price paid for am individual share contained in the holding.

purchaseDate

Date/Time

Gets the date/time that the holding was purchased.

quoteID

String

Gets the symbol of the shares contained within the holding.

Definition in XSD

  <xs:complexType name="HoldingDataBean">
    <xs:sequence>
      <xs:element minOccurs="0" name="holdingID" type="xs:int" />
      <xs:element minOccurs="0" name="quantity" type="xs:double" />
      <xs:element minOccurs="0" name="purchasePrice" type="xs:decimal" />
      <xs:element minOccurs="0" name="purchaseDate" type="xs:dateTime" />
      <xs:element minOccurs="0" name="quoteID" 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

  • No labels