global with sharing class CompanyService
Services for companies.
global static List<fferpcore.CompanyService.CompanySummary> loadCompaniesWithoutTaxInformation()
Retrieve the summaries of all companies whose tax information has not been set.
The list of company summaries.
global static fferpcore.CompanyService.AddTaxInformationResponse addTaxInformation(List<fferpcore.CompanyService.AddTaxInformationRequest> requests)
Assign tax information to companies by setting a value in their Tax Information field. You can only assign tax information to companies that do not have any. A single tax information record can be assigned to many companies, but each company can only have one tax information record.
A placeholder response object, reserved for future use. This does not currently contain any information.
global inherited sharing class CompanySummary
A summary of the identifying information of a company record.
global CompanySummary(Id id, String name)
Constructs a company summary with the specified ID and Name.
global inherited sharing class AddTaxInformationRequest
A request to assign a specified company tax information record to a specified company. A list of these is used when calling addTaxInformation.
Constructs an empty request.
global AddTaxInformationRequest(Id companyId, Id taxInformationId)
Constructs a request to assign the specified tax information to the specified company.
global inherited sharing class AddTaxInformationResponse
The result of adding tax information to companies. This currently contains no information, but is reserved for future use.