Creating the CashBalanceChangeRequest business object
Follow these steps to create the CashBalanceChangeRequest business object which has these attributes:
customerNumber (string)
amount (double)
returnCode (int)
updatedBalance (double)
From the menu, select
File > New > Other
. The
New
window opens.
In the navigation tree, click
Business Integration > Business Object
.
Click
Next
.
From the
Module
list, click
BrokerageModule
. The
Inherit from
field is set to
<none>
.
In the
Folder
field, type
com.emerged.brokerage
.
In the
Name
field, type
CashBalanceChangeRequestBO
.
The
Namespace
field is set to
http://BrokerageModule/com/emerged/brokerage
.
Click
Finish
. The editor opens for
CashBalanceChangeRequestBO
.
Click the
Add an attribute to a business object.
button
.
Switch to the Properties view.
In the
Name
field, type
customerNumber
.
In the
Type
list, type
string
.
From the list, click
string
.
Switch to the CashBalanceChangeRequestBO editor.
Click the
Add an attribute to a business object.
button
.
Switch to the Properties view.
In the
Name
field, type
amount
.
In the
Type
list, type
double
.
From the list, click
double
.
Switch to the CashBalanceChangeRequestBO editor.
Click the
Add an attribute to a business object.
button
.
Switch to the Properties view.
In the
Name
field, type
returnCode
.
In the
Type
list, type
int
.
From the list, click
int
.
Switch to the CashBalanceChangeRequestBO editor.
Click the
Add an attribute to a business object.
button
.
Switch to the Properties view.
In the
Name
field, type
updatedBalance
.
In the
Type
list, type
double
.
From the list, click
double
.
From the menu, select
File > Save
(or press
Ctrl+S
).
From the menu, select
File > Close
(or press
Ctrl+F4
). The editor closes for
CashBalanceChangeRequestBO
.
Parent topic:
Creating interfaces and business objects
Previous topic:
Creating the Customer business object
Next topic:
Creating the SharesRequest business object