CompanyInfoService class

URL:https://developer.intuit.com/app/developer/qbo/docs/api/accounting/most-commonly-used/companyinfo The CompanyInfo object contains basic company information. In QuickBooks, company info and preferences are displayed in the same place under preferences, so it may be confusing to figure out from user interface which fields may belong to this object. But in general, properties such as company addresses or name are considered company information. Some attributes may exist in both CompanyInfo and Preferences objects.

Constructors

CompanyInfoService({required String baseUrl, required AuthenticationService authenticationService, int minorVersion = 63})

Properties

authenticationService AuthenticationService
final
baseUrl String
final
hashCode int
The hash code for this object.
no setterinherited
minorVersion int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
queryCompanyInfo({required String query, String? realmId, String? authToken}) Future<List<CompanyInfo>>
Returns the results of the query.
readCompanyInfo({required String companyId, String? realmId, String? authToken}) Future<CompanyInfo>
Retrieves the details of the CompanyInfo object.
toString() String
A string representation of this object.
inherited
updateCompanyInfo({required CompanyInfo companyInfo, String? realmId, String? authToken}) Future<CompanyInfo>
Sparse updating provides the ability to update a subset of properties for a given object; only elements specified in the request are updated. Missing elements are left untouched. The ID of the object to update is specified in the request body.​ Available with minor version 11

Operators

operator ==(Object other) bool
The equality operator.
inherited