PreferencesService class
URL: https://developer.intuit.com/app/developer/qbo/docs/api/accounting/most-commonly-used/preferences The Preferences resource represents a set of company preferences that control application behavior in QuickBooks Online. They are mostly exposed as read-only through the Preferences endpoint with only a very small subset of them available as writable. Preferences are not necessarily honored when making requests via the QuickBooks API because a lot of them control UI behavior in the application and may not be applicable for apps
Constructors
- PreferencesService.new({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
-
queryPreferences(
{required String query, String? realmId, String? authToken}) → Future< List< Preferences> > - Returns the results of the query.
-
readPreferences(
{String? realmId, String? authToken}) → Future< Preferences> - Retrieves the Preferences details for the specified company.
-
toString(
) → String -
A string representation of this object.
inherited
-
updatePreferences(
{required Preferences preferences, String? realmId, String? authToken}) → Future< Preferences> - Use this operation to update any of the writable preference fields. The request body must include all writable fields of the existing object as returned in a read response. Writable fields omitted from the request body are set to NULL or reverted to a default value. The ID of the object to update is specified in the request body.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited