Method Summary
All Methods Instance Methods Abstract Methods
Creates a notes object in BRM.Uses the shared PCM Connection when invoked
from a BRM transaction Creates an independent PCM connection when invoked
independently
Retrieves the list of notes (including the conversations) for a bill unit
of an account.
Retrieves all the notes for the item Id
Retrieves the list of notes (including the conversations) for payment
associated with the passed transaction id
Retrieves the Notes object associated with an account and type of notes
Retrieves the Notes object associated with an account and type of notes
Retrieves notes of given account
void
Updates the existing notes object.
Method Details
createNotes
Creates a notes object in BRM.Uses the shared PCM Connection when invoked
from a BRM transaction Creates an independent PCM connection when invoked
independently
Parameters:
notes - Notes payload Object
Returns:
Throws:
ApplicationException
updateNotes
Updates the existing notes object. Adds follow up comments to an existing
BRM notes conversation
Parameters:
notes - Notes payload object
Returns:
instance of Notes
Throws:
ApplicationException
getNotes
Retrieves the Notes object associated with an account and type of notes
Parameters:
id - Id of the object for which notes is created (ex: 0.0.0.1
-item-adjustment 73485)
type - Type of notes object ex:item,service,event,billInfo
accountId - Account Id for which notes is associated
notesType - fetch the notes of particular type
Returns:
List of Notes payload Object
Throws:
ApplicationException
getNotes
Retrieves the Notes object associated with an account and type of notes
Parameters:
id - Id of the object for which notes is created (ex: 0.0.0.1
-item-adjustment 73485)
type - Type of notes object ex:item,service,event,billInfo
accountId - Account Id for which notes is associated
notesType - fetch the notes of particular type
notesSubType - fetch the notes of particular sub type
Returns:
List of Notes payload Object
Throws:
ApplicationException
getAllNotes
Retrieves the list of notes (including the conversations) for a bill unit
of an account.
Parameters:
billUnitId - (Bill Unit ID)
starts - (start date of notes, this parameter is optional)
ends - (end date of notes, this parameter is optional)
Returns:
notesInfoList on success, exception will be raised on error
Throws:
ApplicationException
getAllNotesforItemId
Retrieves all the notes for the item Id
Parameters:
id - (Item ID)
Returns:
List of notes on success, exception will be raised on error
Throws:
ApplicationException
getAllNotesforTransactionId
Retrieves the list of notes (including the conversations) for payment
associated with the passed transaction id
Parameters:
transactionId - - transaction id of the payment ex: "T1,a,0"
Returns:
notesList on success, exception will be raised on error
Throws:
ApplicationException - (if there is no note associated, returns a
dummy note object with payment id and account id associated with the
given transaction id)
getNotesforAccount
Retrieves notes of given account
Parameters:
accountId - (Account number)
Returns:
notes
Throws:
ApplicationException