BillService class

URL: https://developer.intuit.com/app/developer/qbo/docs/api/accounting/most-commonly-used/bill A Bill object is an AP transaction representing a request-for-payment from a third party for goods/services rendered, received, or both.

Constructors

BillService.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

createBill({required Bill bill, String? realmId, String? authToken}) Future<Bill>
The minimum elements to create an bill are listed here.
deleteBill({required Bill bill, String? realmId, String? authToken}) Future<DeleteResponse>
This operation deletes the bill object specified in the request body. Include a minimum of Bill.Id and Bill.SyncToken in the request body. You must unlink any linked transactions associated with the bill object before deleting it.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
queryBill({required String query, String? realmId, String? authToken}) Future<List<Bill>>
Returns the results of the query.
readBill({required String billId, String? realmId, String? authToken}) Future<Bill>
Retrieves the details of a bill that has been previously created.
toString() String
A string representation of this object.
inherited
updateBill({required Bill bill, String? realmId, String? authToken}) Future<Bill>
Use this operation to update any of the writable fields of an existing bill 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.

Operators

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