VendorService class

URL: https://developer.intuit.com/app/developer/qbo/docs/api/accounting/most-commonly-used/vendor The Vendor object represents the seller from whom your company purchases any service or product.

Constructors

VendorService({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

createVendor({required Vendor vendor, String? realmId, String? authToken}) Future<Vendor>
Either the DisplayName attribute or at least one of Title, GivenName, MiddleName, FamilyName, or Suffix attributes are required during create.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
queryVendor({required String query, String? realmId, String? authToken}) Future<List<Vendor>>
Returns the results of the query.
readVendor({required String vendorId, String? realmId, String? authToken}) Future<Vendor>
Retrieves the details of a Vendor object that has been previously created.
toString() String
A string representation of this object.
inherited
updateVendor({required Vendor vendor, String? realmId, String? authToken}) Future<Vendor>
Use this operation to update any of the writable fields of an existing vendor object. 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. The ID of the object to update is specified in the request body.Add the query parameter, include=updateaccountontxns&minorversion=5, to the endpoint to automatically update the AP account on historical transactions (from soft close date forward) for this vendor with that defined by the APAccountRef attribute in the Vendor object. Updates on soft closed transacitons associated will fail.

Operators

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