AbstractBDCConverter Class
AbstractBDCConverter Methods
The following are the methods for the AbstractBDCConverter class. All methods are instance methods.
convertTransactions(List<HttpResponse> responses)
Signature
abstract global BDCServiceResult convertTransactions(List<HttpResponse> responses)
Return Value
Type: [List<HttpResponse>
]
Parameters
Type: BDCServiceResult
Usage
Parses a list of HttpResponses from a bank transaction service that contain information to create BDCTransactions. These should be added to the bdcTranssactions in the BDCDataModel object within the BDCServiceResult that is returned.
convertAccounts(List<HttpResponse> responses)
Signature
abstract global BDCServiceResult convertAccounts(List<HttpResponse> responses)
Return Value
Type: [List<HttpResponse>
]
Parameters
Type: BDCServiceResult
Usage
Parses a list of HttpResponses from a bank account service that contain information to create BDCAccounts. These should be added to the bdcAccounts in the BDCDataModel object within the BDCServiceResult that is returned.
convertFinancialInstitutions(List<HttpResponse> responses)
Signature
abstract global BDCServiceResult convertFinancialInstitutions(List<HttpResponse> responses)
Return Value
Type: [List<HttpResponse>
]
Parameters
Type: BDCServiceResult
Usage
Parses a list of HttpResponses from a bank account service into BDCFinancialInstitutions. These should be added to the bdcFinancialInstitutions in the BDCDataModel object within the BDCServiceResult that is returned.
convertFinancialInstitutionIdentities(List<HttpResponse> responses)
Signature
abstract global BDCServiceResult convertFinancialInstitutionIdentities(List<HttpResponse> responses)
Return Value
Type: [List<HttpResponse>
]
Parameters
Type: BDCServiceResult
Usage
Parses a list of HttpResponses from a bank account service into BDCFinancialInstitutionIdenties. These should be added to the bdcFinancialInstitutionIdentities in the BDCDataModel object within the BDCServiceResult that is returned.
convertCategories(List<HttpResponse> responses)
Signature
abstract global BDCServiceResult convertCategories(List<HttpResponse> responses)
Return Value
Type: [List<HttpResponse>
]
Parameters
Type: BDCServiceResult
Usage
Parses a list of HttpResponses from a bank account service into a map of Category Ids to BDCCategories. These should be added to the bdcCategories in the BDCDataModel object within the BDCServiceResult that is returned. The value within the data model is a map from the category's id to the BDCCategory object. Each bdcCategory should have a parent id or it will be considered to be the highest level category. Accounting Seed supports up to 3 category levels.
convertDeleteFinancialInstitutionIdentity(List<HttpResponse> responses)
Signature
abstract global BDCServiceResult convertDeleteFinancialInstitutionIdentity(List<HttpResponse> responses)
Return Value
Type: [List<HttpResponse>
]
Parameters
Type: BDCServiceResult
Usage
Parses responses related to deleting a financial Institution Identity with an Institution. Generally, this should just be a response indicating if the delete was successful. If the delete is successful, perform any necessary operations to clean up any old authenication information.