![]() Billing Central API Developer Reference
|
ffbc.Responseglobal virtual with sharing class Response This class provides error handling functionality for Billing Central services. Methods
hasErrorsglobal Boolean hasErrors() Checks whether any errors were generated in the response. Return ValueTrue or false depending on whether any errors were generated. hasErrorsglobal Boolean hasErrors(Id objectId) This method checks whether the response for a specific record generated any errors. Input Parameters
Return ValueTrue or false depending on whether any errors were generated. getErrorsglobal Map<Id, List<String>> getErrors() This method returns errors that are generated in the response. Return ValueA Map containing a list of the errors generated for each record Id. getStringErrorsglobal List<String> getStringErrors() This method returns errors that are generated in the response. Return ValueA list containing the errors generated for each record Id. |