BDCServiceResult Class
BDCServiceResult class returned from BDCService method calls
Properties
The following are properties of the BDCServiceResult class.
isSuccess
Type: Boolean
data
Type: BDCDataModel
errors
Type: BDCError[]
Inner Classes
The following inner class of BDCServiceResult can be used for error handling
BDCServiceResult.BDCError
global BDCError()
Constructor.
Usage
AcctSeed.BDCServiceResult.BDCError err = new AcctSeed.BDCServiceResult.BDCError();
global BDCError(String detail)
Constructor.
Usage
AcctSeed.BDCServiceResult.BDCError err = new AcctSeed.BDCServiceResult.BDCError('error string');
global BDCError(String code, String detail)
Constructor.
Usage
AcctSeed.BDCServiceResult.BDCError err = new AcctSeed.BDCServiceResult.BDCError('error code', 'error string');
global BDCError(Id id, String code, String detail)
Constructor.
Usage
AcctSeed.BDCServiceResult.BDCError err = new AcctSeed.BDCServiceResult.BDCError('error code', 'error string', 'error detail');