Add
int CSaleUserTransact::Add( array arFields );
The method Add adds a new specified transaction.
Adding a transaction doesn't affect the user account. To update the account, use CSaleUserAccount::UpdateAccount
Parameters
Parameter | Description |
---|---|
arFields | Associated array containing parameters of a new transaction. The array
has the following keys:
|
Returned values
The method returns the ID of the added transaction on success, or false otherwise.
© «Bitrix24», 2001-2024