EstimateService class

URL: https://developer.intuit.com/app/developer/qbo/docs/api/accounting/most-commonly-used/estimate The Estimate represents a proposal for a financial transaction from a business to a customer for goods or services proposed to be sold, including proposed pricing.

Constructors

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

createEstimate({required Estimate estimate, String? realmId, String? authToken}) Future<Estimate>
An Estimate must have at least one line that describes an item. An Estimate must have a reference to a customer. If shipping address and billing address are not provided, the address from the referenced Customer object is used.
deleteEstimate({required Estimate estimate, String? realmId, String? authToken}) Future<DeleteResponse>
This operation deletes the estimate object specified in the request body. Include a minimum of Estimate.Id and Estimate.SyncToken in the request body.
getEstimatePdf({required String estimateId, String? realmId, String? authToken}) Future<Uint8List>
This resource returns the specified object in the response body as an Adobe Portable Document Format (PDF) file. The resulting PDF file is formatted according to custom form styles in the company settings.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
queryEstimate({required String query, String? realmId, String? authToken}) Future<List<Estimate>>
Returns the results of the query.
readEstimate({required String estimateId, String? realmId, String? authToken}) Future<Estimate>
Retrieves the details of an estimate that has been previously created.
sendEstimate({required String estimateId, required String emailTo, String? realmId, String? authToken}) Future<Estimate>
The Estimate.EmailStatus parameter is set to EmailSent. The Estimate.DeliveryInfo element is populated with sending information. The Estimate.BillEmail.Address parameter is updated to the address specified with the value of the sendTo query parameter, if specified.
toString() String
A string representation of this object.
inherited
updateEstimate({required Estimate estimate, String? realmId, String? authToken}) Future<Estimate>
Use this operation to update any of the writable fields of an existing estimate 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