ItemService class
URL: https://developer.intuit.com/app/developer/qbo/docs/api/accounting/most-commonly-used/item An item is a thing that your company buys, sells, or re-sells, such as products and services. An item is shown as a line on an invoice or other sales form.
Constructors
- ItemService.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
-
createItem(
{required Item item, String? realmId, String? authToken}) → Future< Item> - Creates an item
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
queryItem(
{required String query, String? realmId, String? authToken}) → Future< List< Item> > - Returns the results of the query.
-
readItem(
{required String itemId, String? realmId, String? authToken}) → Future< Item> - Retrieves the details of a item object that has been previously created.
-
toString(
) → String -
A string representation of this object.
inherited
-
updateItem(
{required Item item, String? realmId, String? authToken}) → Future< Item> - Use this operation to update any of the writable fields of an existing category object. The ID of the object to update is specified in the request body.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited