|
|
|
|
|
Component
|
|
financial |
|
|
|
|
|
Visibility
|
|
public |
|
|
|
|
|
Transaction
|
|
required |
This opcode is used to produce Bill Now for the specified billinfo object,
for account, or for the list of pending items.
|
|
|
|
|
Use
|
|
required |
|
|
|
|
|
Class
|
|
/account
|
|
|
|
| 0 |
poid
BILLINFO_OBJ
|
In Out
|
|
|
|
|
|
Use
|
|
optional |
|
|
|
|
|
Class
|
|
/billinfo
|
Poid of billinfo for which Bill Now is produced. If it is not presented then Bill Now will be produced for each billinfo for the given account
|
|
|
| 0 |
poid
ACCOUNT_OBJ
|
In Out
|
|
|
|
|
|
Use
|
|
optional |
|
|
|
|
|
Class
|
|
/account
|
Account for which bill now is produced.
|
|
|
| 0 |
string
PROGRAM_NAME
|
In Out
|
|
|
|
|
|
Use
|
|
required |
|
|
|
|
|
Max length
|
|
60 |
Program name - identifies calling program
Time of producing Bill Now. If it is not presented, then the
current time is used.
This field may contain two flags (bits):
1. PIN_BILL_FLG_APPLY_FOLDS (value is 0x10). This flag indicates
to apply folds for Bill Now.
2. PIN_BILL_FLG_APPLY_DISCOUNTS (value is 0x20). This indicates
to apply billing time discounts for Bill Now.
|
|
|
| 0 |
poid
SERVICE_OBJ
|
In Out
|
|
|
|
|
|
Use
|
|
optional |
|
|
|
|
|
Class
|
|
/service
|
This poid specifies the subscription.
If the account_poid for this service is the same as poid from the input
flist, then the Bill_Now will be produced for this subscription.
Otherwise, the Bill_Now will be produced for the sponsor which is defined
by poid, but it will include charges only from this subscription.
|
|
|
|
|
Use
|
|
optional |
|
|
|
|
|
ElemID mode
|
|
ignored |
|
|
|
|
|
Iteration
|
|
undefined |
|
|
|
|
|
Min number of Elements
|
|
0 |
List of pending items to be included into the Bill_Now
|
|
|
|
|
Use
|
|
required |
|
|
|
|
|
Parent
|
|
in.ITEMS
|
|
|
|
|
|
Class
|
|
/item
|
Item poid from the ITEMS array
|
|
|
| 0 |
substruct
CONTEXT_INFO
|
In Out
|
Substruct to pass information from external clients.
|
|
|
| 1 |
string
CORRELATION_ID
|
In Out
|
Correlation id passed by an external system to BRM.
|
|
|
| 1 |
string
EXTERNAL_USER
|
In Out
|
User of an external system connecting to BRM.
|
|
|
|
|
Use
|
|
required |
|
|
|
|
|
Class
|
|
/account
|
Account object passed into call.
|
|
|
|
|
Use
|
|
required |
|
|
|
|
|
ElemID mode
|
|
ignored |
|
|
|
|
|
Iteration
|
|
undefined |
|
|
|
|
|
Min number of Elements
|
|
1 |
Results array contains info for each produced Bill Now object.
|
|
|
| 1 |
poid
BILLINFO_OBJ
|
In Out
|
Poid of billinfo for which Bill Now is produced.
|
|
|
| 1 |
poid
LAST_BILL_OBJ
|
In Out
|
Poid of the created bill object (which is Bill Now)
|
|
|
| 1 |
decimal
PENDING_RECV
|
In Out
|
Value of Bill Now totals.
|
|
|
| 0 |
substruct
CONTEXT_INFO
|
In Out
|
Substruct to pass information from external clients.
|
|
|
| 1 |
string
CORRELATION_ID
|
In Out
|
Correlation id passed by an external system to BRM.
|
|
|
| 1 |
string
EXTERNAL_USER
|
In Out
|
User of an external system connecting to BRM.