| java.lang.Object | |
| ↳ | org.mule.modules.quickbooks.online.QuickBooksModule |
Known Direct Subclasses
|
Known Indirect Subclasses
|
QuickBooks software provides an interface that allows you to use forms such as checks, deposit slips and invoices, making the accounting process more comfortable for the average business owner or manager. By using the built-in functions that pertain to your business, you are able to perform your company accounting by simply recording your vendor activities, customer activities, banking transactions, payroll checks and taxes. QuickBooks handles the accounting portion of each transaction behind the scenes. Read more: QuickBooks Accounting Tutorial | eHow.com http://www.ehow.com/way_5462311_quickbooks-accounting-tutorial.html#ixzz1csaydwxl
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| accessTokenIdentifierPrefix | Prefix used for storing credentials in ObjectStore. | ||||||||||
| baseUri | The base uri of the quickbooks endpoint, used to fetch the company uri. | ||||||||||
| client | Quick-Books client. | ||||||||||
| consumerKey | API Key | ||||||||||
| consumerSecret | API Secret | ||||||||||
| objectStore | Object store reference | ||||||||||
| objectStoreHelper | Object store helper | ||||||||||
| verifyOpenIdResponse | Specifies if the OpenID response will be verified. | ||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Authorize an user using OAuth1.0a
| |||||||||||
Gets all of the transactions and objects that have been deleted on the Data Services server
For details see:
ChangeDataDeleted
| |||||||||||
Creates an Account.
| |||||||||||
Creates a Bill.
| |||||||||||
Creates a BillPayment.
| |||||||||||
Creates a CashPurchase.
| |||||||||||
Creates a Check.
| |||||||||||
Creates a CreditCardCharge.
| |||||||||||
Creates a Customer.
| |||||||||||
Creates an Estimate.
| |||||||||||
Creates an Invoice.
| |||||||||||
Creates an Item.
| |||||||||||
Creates a Payment.
| |||||||||||
Creates a PaymentMethod.
| |||||||||||
Creates a SalesReceipt.
| |||||||||||
Creates a SalesTerm.
| |||||||||||
Creates a Vendor.
| |||||||||||
Deletes an object.
| |||||||||||
Invalidates the OAuth access token in the request, thereby disconnecting the user from QuickBooks for this app.
| |||||||||||
Lazily retrieves Objects
For details see:
Vendor Specification
| |||||||||||
Extract accessToken
| |||||||||||
Gets blueDot menu information from Intuit
| |||||||||||
Returns company metadata information.
| |||||||||||
Returns current user information such as first name, last name, and email address.
| |||||||||||
Retrieve objects by ID.
| |||||||||||
Generates the QuickbooksOnlineClient
| |||||||||||
Initializes OpenID process
| |||||||||||
Generates a new OAuth access token and invalidates the OAuth access token used in the request,
thereby extending the life span by six months.
| |||||||||||
Updates an Account
The Account object represents the accounts that you keep to track your business.
| |||||||||||
Updates a Bill
The Bill object represents an expense to the business.
| |||||||||||
Updates a BillPayment
BillPayment represents the financial transaction of payment of bills that the business owner receives
from a vendor for goods or services purchased from the vendor.
| |||||||||||
Updates a CashPurchase.
| |||||||||||
Updates a Check.
| |||||||||||
Updates a CreditCardCharge.
| |||||||||||
Updates a Customer.
| |||||||||||
Updates an Estimate.
| |||||||||||
Updates an Invoice.
| |||||||||||
Updates an Item.
| |||||||||||
Updates a Payment.
| |||||||||||
Updates a PaymentMethod.
| |||||||||||
Updates a SalesReceipt.
| |||||||||||
Updates a SalesTerm.
| |||||||||||
Updates a Vendor.
| |||||||||||
Verify response from Intuit
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Prefix used for storing credentials in ObjectStore. It will be concatenated to the access token identifier.
E.g. prefix: "qb_", user identifier (realmId): "12345", key for object store "qb_12345"
The base uri of the quickbooks endpoint, used to fetch the company uri. Quickbooks connector will first use this uri and the realmId to get a second uri, called company uri, which is the actual quickbooks endpoint for the connector
Quick-Books client. By default uses DefaultQuickBooksOnlineClient class.
API Key
API Secret
Object store reference
Object store helper
Specifies if the OpenID response will be verified. By default it is true.
Authorize an user using OAuth1.0a
| requestTokenUrl | RequestTokenUrl |
|---|---|
| accessTokenUrl | AccessTokenUrl |
| authorizationUrl | AuthorizationUrl |
| callbackUrl | CallbackUrl for OAuth service |
| requestTokenId | Optional value for identifying the requestToken. If it is not passed the client will use a UUID |
| headers | Outbound headers |
| ObjectStoreException | from the Object Store instance |
|---|---|
| OAuthCommunicationException | requesting to OAuth provider |
| OAuthExpectationFailedException | requesting to OAuth provider |
| OAuthNotAuthorizedException | requesting to OAuth provider |
| OAuthMessageSignerException | requesting to OAuth provider |
Gets all of the transactions and objects that have been deleted on the Data Services server For details see: ChangeDataDeleted
| accessTokenId | Identifier for QuickBooks credentials. |
|---|---|
| queryFilter | String with a filter format (see details). Each type of object to be retrieved, has a list of attributes for which it can be filtered (See this list following the link in the details of the documentation of the create or update method of that object). |
| querySort | String with a sort format (see details). Each type of object to be retrieved, has a list of attributes for which it can be sorted (See this list following the link in the details of the documentation of the create or update method of that object). |
| QuickBooksRuntimeException | when there is a problem with the server. It has a code and a message provided by quickbooks about the error. |
|---|
Creates an Account. The Account object represents the accounts that you keep to track your business. Account is a component of a chart of accounts, and is part of a ledger. You can use Account to record the total monetary amount that is allocated for a specific use. For details see: Account Specification
| accessTokenId | Identifier for QuickBooks credentials. |
|---|---|
| account | The Quickbooks account to be created. |
Creates a Bill. The Bill object represents an expense to the business. For details see: Bill Specification
| accessTokenId | Identifier for QuickBooks credentials. |
|---|---|
| bill | The bill to be created |
Creates a BillPayment. BillPayment represents the financial transaction of payment of bills that the business owner receives from a vendor for goods or services purchased from the vendor. QBO supports bill payments through a credit card or a bank account. For details see: BillPayment Specification
| accessTokenId | Identifier for QuickBooks credentials. |
|---|---|
| billPayment | The bill payment object |
| QuickBooksRuntimeException | when there is a problem with the server. It has a code and a message provided by quickbooks about the error. |
|---|
Creates a CashPurchase. CashPurchase represents an expense to the business as a cash transaction. For details see: CashPurchase Specification
| accessTokenId | Identifier for QuickBooks credentials. |
|---|---|
| cashPurchase | The cash purchase to be created |
| QuickBooksRuntimeException | when there is a problem with the server. It has a code and a message provided by quickbooks about the error. |
|---|
Creates a Check. The Check object represents an expense to the business paid as a check transaction. For details see: Check Specification
| accessTokenId | Identifier for QuickBooks credentials. |
|---|---|
| check | The check to be created |
| QuickBooksRuntimeException | when there is a problem with the server. It has a code and a message provided by quickbooks about the error. |
|---|
Creates a CreditCardCharge. The CreditCardCharge object represents an expense to the business as a credit card charge transaction. CreditCardCharge must have the total expense equal to the total expense of line items. For details see: CreditCardCharge Specification
| accessTokenId | Identifier for QuickBooks credentials. |
|---|---|
| creditCardCharge | The credit card charge to be created |
| QuickBooksRuntimeException | when there is a problem with the server. It has a code and a message provided by quickbooks about the error. |
|---|
Creates a Customer. The Customer object represents the consumer of the service or the product that your business offers. QBO allows categorizing the customers in a way that is meaningful to the business. For details see: Customer Specification
| accessTokenId | Identifier for QuickBooks credentials. |
|---|---|
| customer | The customer to be created |
| QuickBooksRuntimeException | when there is a problem with the server. It has a code and a message provided by quickbooks about the error. |
|---|
Creates an Estimate. The Estimate object represents a proposal for a financial transaction from a business to a customer for goods or services proposed to be sold, including proposed pricing. It is also known as quote. For details see: Estimate Specification
| accessTokenId | Identifier for QuickBooks credentials. |
|---|---|
| estimate | The estimate to be created |
| QuickBooksRuntimeException | when there is a problem with the server. It has a code and a message provided by quickbooks about the error. |
|---|
Creates an Invoice. The Invoice object represents an invoice to a customer. Invoice could be based on salesterm with invoice and due dates for payment. Invoice supports tax, but as of now shipping charges are not supported. Invoice can be printed and emailed to a customer. For details see: Invoice Specification
| accessTokenId | Identifier for QuickBooks credentials. |
|---|---|
| invoice | The invoice to be created |
| QuickBooksRuntimeException | when there is a problem with the server. It has a code and a message provided by quickbooks about the error. |
|---|
Creates an Item. The Item object represents any product or service that is sold or purchased. Inventory items are not currently supported. For details see: Item Specification
| accessTokenId | Identifier for QuickBooks credentials. |
|---|---|
| item | The item to be created |
| QuickBooksRuntimeException | when there is a problem with the server. It has a code and a message provided by quickbooks about the error. |
|---|
Creates a Payment. The Payment object represents the financial transaction that signifies a payment from a customer for one or more sales transactions. For details see: Payment Specification
| accessTokenId | Identifier for QuickBooks credentials. |
|---|---|
| payment | The payment to be created |
| QuickBooksRuntimeException | when there is a problem with the server. It has a code and a message provided by quickbooks about the error. |
|---|
Creates a PaymentMethod. PaymentMethod represents the method of payment for a transaction. It can be a credit card payment type or a non-credit card payment type. For details see: PaymentMethod Specification
| accessTokenId | Identifier for QuickBooks credentials. |
|---|---|
| paymentMethod | The payment method to be created |
| QuickBooksRuntimeException | when there is a problem with the server. It has a code and a message provided by quickbooks about the error. |
|---|
Creates a SalesReceipt. The Payment object represents the financial transaction that signifies a payment from a customer for one or more sales transactions. For details see: SalesReceipt Specification
| accessTokenId | Identifier for QuickBooks credentials. |
|---|---|
| salesReceipt | The sales receipt to be created |
| QuickBooksRuntimeException | when there is a problem with the server. It has a code and a message provided by quickbooks about the error. |
|---|
Creates a SalesTerm. The SalesTerm object represents the terms under which a sale is made. SalesTerm is typically expressed in the form of days due after the goods are received. There is an optional discount part of the sales term, where a discount of total amount can automatically be applied if payment is made within a few days of the stipulated time. For details see: SalesTerm Specification
| accessTokenId | Identifier for QuickBooks credentials. |
|---|---|
| salesTerm | The sales term to be created |
| QuickBooksRuntimeException | when there is a problem with the server. It has a code and a message provided by quickbooks about the error. |
|---|
Creates a Vendor. The Vendor object represents the buyer from whom you purchase any service or product for your organization. For details see: Vendor Specification
| accessTokenId | Identifier for QuickBooks credentials. |
|---|---|
| vendor | The vendor to be created |
| QuickBooksRuntimeException | when there is a problem with the server. It has a code and a message provided by quickbooks about the error. |
|---|
Deletes an object.
| accessTokenId | Identifier for QuickBooks credentials. |
|---|---|
| type | EntityType of the object. |
| id | Id which is assigned by Data Services when the object is created. |
| syncToken | Integer that indicates how many times the object has been updated. Before performing the update, Data Services verifies that the SyncToken in the request has the same value as the SyncToken in the Data Service's repository. |
Invalidates the OAuth access token in the request, thereby disconnecting the user from QuickBooks for this app.
| accessTokenId | Credentials identifier for the user information to be requested |
|---|
Lazily retrieves Objects For details see: Vendor Specification
| accessTokenId | Identifier for QuickBooks credentials. |
|---|---|
| type | EntityType of the object. |
| queryFilter | String with a filter format (see details). Each type of object to be retrieved, has a list of attributes for which it can be filtered (See this list following the link in the details of the documentation of the create or update method of that object). |
| querySort | String with a sort format (see details). Each type of object to be retrieved, has a list of attributes for which it can be sorted (See this list following the link in the details of the documentation of the create or update method of that object). |
| QuickBooksRuntimeException | when there is a problem with the server. It has a code and a message provided by quickbooks about the error. |
|---|
Extract accessToken
| apiUrl | API URL |
|---|---|
| verifier | OAuth verifier. It comes within the callback. The default value is "#[header:inbound:oauth_verifier]" |
| requestTokenId | Id used for identifying the authorized request token. It comes within the callback. By default the query string parameter is userId |
| userIdentifier | Id used for store the accessToken in the Object Store. By default the value is the realmId |
| ObjectStoreException | from the object store instance |
|---|---|
| OAuthCommunicationException | requesting to OAuth provider |
| OAuthExpectationFailedException | requesting to OAuth provider |
| OAuthNotAuthorizedException | requesting to OAuth provider |
| OAuthMessageSignerException | requesting to OAuth provider |
Gets blueDot menu information from Intuit
| accessTokenId | Credentials identifier for the user information to be requested |
|---|---|
| regex | Regex for extracting the information
The regex has to extract the information in this way: match[0]: "appId,appName,contextArea" match[1]: "logoImageUrl" The method will split the application information to generate the @link{AppMenuInformation} object |
Returns company metadata information. For details see: CompanyMetaData
| accessTokenId | Identifier for QuickBooks credentials. |
|---|
Returns current user information such as first name, last name, and email address. For details see: CurrentUserAPI
| accessTokenId | Identifier for QuickBooks credentials. |
|---|
Retrieve objects by ID.
| accessTokenId | Identifier for QuickBooks credentials. |
|---|---|
| type | EntityType of the object. |
| id | Id which is assigned by Data Services when the object is created. |
| QuickBooksRuntimeException | when there is a problem with the server. It has a code and a message provided by quickbooks about the error. |
|---|
Generates the QuickbooksOnlineClient
Initializes OpenID process
| providerUrl | OpenID provider url |
|---|---|
| callbackUrl | OpenID callbackUrl. It has to point to an endpoint callback to process the response |
| headers | OpenId response headers |
| ObjectStoreException | if the operation cannot store the OpenIDManagers |
|---|
Generates a new OAuth access token and invalidates the OAuth access token used in the request, thereby extending the life span by six months. Because accessing QuickBooks data requires a valid access token, when the OAuth access token is renewed, your app can continue to access the user's QuickBooks company data.
| accessTokenId | Credentials identifier for the user information to be requested |
|---|
| ObjectStoreException | if the credentials store failed |
|---|
| accessTokenIdentifierPrefix |
|---|
| baseUri |
|---|
| consumerKey |
|---|
| consumerSecret |
|---|
| objectStore |
|---|
| objectStoreHelper |
|---|
| verifyOpenIdResponse |
|---|
Updates an Account The Account object represents the accounts that you keep to track your business. Account is a component of a chart of accounts, and is part of a ledger. You can use Account to record the total monetary amount that is allocated for a specific use. Specify all the parameters for the object, not just the new or changed elements. If you omit an element, it is removed from the object by the update operation. For details see: Account Specification
| accessTokenId | Identifier for QuickBooks credentials. |
|---|---|
| account | The account to be updated |
| QuickBooksRuntimeException | when there is a problem with the server. It has a code and a message provided by quickbooks about the error. |
|---|
Updates a Bill The Bill object represents an expense to the business. Specify all the parameters for the object, not just the new or changed elements. If you omit an element, it is removed from the object by the update operation. For details see: Bill Specification
| accessTokenId | Identifier for QuickBooks credentials. |
|---|---|
| bill | The bill to be updated |
| QuickBooksRuntimeException | when there is a problem with the server. It has a code and a message provided by quickbooks about the error. |
|---|
Updates a BillPayment BillPayment represents the financial transaction of payment of bills that the business owner receives from a vendor for goods or services purchased from the vendor. QBO supports bill payments through a credit card or a bank account. Specify all the parameters for the object, not just the new or changed elements. If you omit an element, it is removed from the object by the update operation. For details see: BillPayment Specification
| accessTokenId | Identifier for QuickBooks credentials. |
|---|---|
| billPayment | Bill payment to be updated |
| QuickBooksRuntimeException | when there is a problem with the server. It has a code and a message provided by quickbooks about the error. |
|---|
Updates a CashPurchase. CashPurchase represents an expense to the business as a cash transaction. Specify all the parameters for the object, not just the new or changed elements. If you omit an element, it is removed from the object by the update operation. For details see: CashPurchase Specification
| accessTokenId | Identifier for QuickBooks credentials. |
|---|---|
| cashPurchase | The cash purchase to be updated |
| QuickBooksRuntimeException | when there is a problem with the server. It has a code and a message provided by quickbooks about the error. |
|---|
Updates a Check. The Check object represents an expense to the business paid as a check transaction. Specify all the parameters for the object, not just the new or changed elements. If you omit an element, it is removed from the object by the update operation. For details see: Check Specification
| accessTokenId | Identifier for QuickBooks credentials. |
|---|---|
| check | The check to be updated |
| QuickBooksRuntimeException | when there is a problem with the server. It has a code and a message provided by quickbooks about the error. |
|---|
Updates a CreditCardCharge. The CreditCardCharge object represents an expense to the business as a credit card charge transaction. CreditCardCharge must have the total expense equal to the total expense of line items. Specify all the parameters for the object, not just the new or changed elements. If you omit an element, it is removed from the object by the update operation. For details see: CreditCardCharge Specification
| accessTokenId | Identifier for QuickBooks credentials. |
|---|---|
| creditCardCharge | The credit card charge to be updated |
| QuickBooksRuntimeException | when there is a problem with the server. It has a code and a message provided by quickbooks about the error. |
|---|
Updates a Customer. The Customer object represents the consumer of the service or the product that your business offers. QBO allows categorizing the customers in a way that is meaningful to the business. Specify all the parameters for the object, not just the new or changed elements. If you omit an element, it is removed from the object by the update operation. For details see: Customer Specification
| accessTokenId | Identifier for QuickBooks credentials. |
|---|---|
| customer | The customer to be updated |
| QuickBooksRuntimeException | when there is a problem with the server. It has a code and a message provided by quickbooks about the error. |
|---|
Updates an Estimate. The Estimate object represents a proposal for a financial transaction from a business to a customer for goods or services proposed to be sold, including proposed pricing. It is also known as quote. Specify all the parameters for the object, not just the new or changed elements. If you omit an element, it is removed from the object by the update operation. For details see: Estimate Specification
| accessTokenId | Identifier for QuickBooks credentials. |
|---|---|
| estimate | The estimate to be updated |
| QuickBooksRuntimeException | when there is a problem with the server. It has a code and a message provided by quickbooks about the error. |
|---|
Updates an Invoice. The Invoice object represents an invoice to a customer. Invoice could be based on salesterm with invoice and due dates for payment. Invoice supports tax, but as of now shipping charges are not supported. Invoice can be printed and emailed to a customer. Specify all the parameters for the object, not just the new or changed elements. If you omit an element, it is removed from the object by the update operation. For details see: Invoice Specification
| accessTokenId | Identifier for QuickBooks credentials. |
|---|---|
| invoice | The invoice to be updated |
| QuickBooksRuntimeException | when there is a problem with the server. It has a code and a message provided by quickbooks about the error. |
|---|
Updates an Item. The Item object represents any product or service that is sold or purchased. Inventory items are not currently supported. Specify all the parameters for the object, not just the new or changed elements. If you omit an element, it is removed from the object by the update operation. For details see: Item Specification
| accessTokenId | Identifier for QuickBooks credentials. |
|---|---|
| item | The item to be updated |
| QuickBooksRuntimeException | when there is a problem with the server. It has a code and a message provided by quickbooks about the error. |
|---|
Updates a Payment. The Payment object represents the financial transaction that signifies a payment from a customer for one or more sales transactions. Specify all the parameters for the object, not just the new or changed elements. If you omit an element, it is removed from the object by the update operation. For details see: Payment Specification
| accessTokenId | Identifier for QuickBooks credentials. |
|---|---|
| payment | The payment to be updated |
| QuickBooksRuntimeException | when there is a problem with the server. It has a code and a message provided by quickbooks about the error. |
|---|
Updates a PaymentMethod. PaymentMethod represents the method of payment for a transaction. It can be a credit card payment type or a non-credit card payment type. Specify all the parameters for the object, not just the new or changed elements. If you omit an element, it is removed from the object by the update operation. For details see: PaymentMethod Specification
| accessTokenId | Identifier for QuickBooks credentials. |
|---|---|
| paymentMethod | The payment method to be updated |
| QuickBooksRuntimeException | when there is a problem with the server. It has a code and a message provided by quickbooks about the error. |
|---|
Updates a SalesReceipt. The Payment object represents the financial transaction that signifies a payment from a customer for one or more sales transactions. Specify all the parameters for the object, not just the new or changed elements. If you omit an element, it is removed from the object by the update operation. For details see: SalesReceipt Specification
| accessTokenId | Identifier for QuickBooks credentials. |
|---|---|
| salesReceipt | The sales receipt |
| QuickBooksRuntimeException | when there is a problem with the server. It has a code and a message provided by quickbooks about the error. |
|---|
Updates a SalesTerm. The SalesTerm object represents the terms under which a sale is made. SalesTerm is typically expressed in the form of days due after the goods are received. There is an optional discount part of the sales term, where a discount of total amount can automatically be applied if payment is made within a few days of the stipulated time. Specify all the parameters for the object, not just the new or changed elements. If you omit an element, it is removed from the object by the update operation. For details see: SalesTerm Specification
| accessTokenId | Identifier for QuickBooks credentials. |
|---|---|
| salesTerm | The sales term to be updated |
| QuickBooksRuntimeException | when there is a problem with the server. It has a code and a message provided by quickbooks about the error. |
|---|
Updates a Vendor. The Vendor object represents the buyer from whom you purchase any service or product for your organization. Specify all the parameters for the object, not just the new or changed elements. If you omit an element, it is removed from the object by the update operation. For details see: Vendor Specification
| accessTokenId | Identifier for QuickBooks credentials. |
|---|---|
| vendor | The vendor to be updated |
Verify response from Intuit
| muleMessage | Injected MuleMessage |
|---|---|
| receivingUrl | Url from OpenID provider.
If it is not provided the processor will extract it from the Mule message |
| responseParameters | Response parameters from Intuit. It process a map |
| MessageException | from OpenID manager |
|---|---|
| ObjectStoreException | if the operation cannot retrieve OpenID managers from ObjectStore |