public class

DefaultQuickBooksClient

extends Object
implements QuickBooksClient
java.lang.Object
   ↳ org.mule.modules.quickbooks.api.DefaultQuickBooksClient

Summary

Fields
private final String baseUri
private final Client client
private String companyBaseUri
private final ObjectFactory objectFactory
private final OAuthParameters params
private final String realmId
private Integer resultsPerPage
private final OAuthSecrets secrets
Public Constructors
DefaultQuickBooksClient(String realmId, String consumerKey, String consumerSecret, String baseUri)
Public Methods
<T extends CdmBase> T create(EntityType type, T obj, String accessKey, String accessSecret)
<T extends CdmBase> void deleteObject(EntityType type, IdType id, String syncToken, String accessKey, String accessSecret)
<T extends CdmBase> Iterable<T> findObjects(EntityType type, String queryFilter, String querySort, String accessKey, String accessSecret)
<T extends CdmBase> T getObject(EntityType type, IdType id, String accessKey, String accessSecret)
void setResultsPerPage(Integer resultsPerPage)
<T extends CdmBase> T update(EntityType type, T obj, String accessKey, String accessSecret)
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.mule.modules.quickbooks.api.QuickBooksClient

Fields

private final String baseUri

private final Client client

private String companyBaseUri

private final ObjectFactory objectFactory

private final OAuthParameters params

private final String realmId

private Integer resultsPerPage

private final OAuthSecrets secrets

Public Constructors

public DefaultQuickBooksClient (String realmId, String consumerKey, String consumerSecret, String baseUri)

Parameters
realmId
consumerKey
consumerSecret
baseUri

Public Methods

public T create (EntityType type, T obj, String accessKey, String accessSecret)

Parameters
type
obj
accessKey
accessSecret
See Also
  • org.mule.modules.quickbooks.api.QuickBooksClient#create(java.lang.Object)

public void deleteObject (EntityType type, IdType id, String syncToken, String accessKey, String accessSecret)

Parameters
type
id
syncToken
accessKey
accessSecret
See Also
  • org.mule.modules.quickbooks.api.QuickBooksClient#deleteObject(java.lang.Object)

public Iterable<T> findObjects (EntityType type, String queryFilter, String querySort, String accessKey, String accessSecret)

Parameters
type
queryFilter
querySort
accessKey
accessSecret
See Also
  • org.mule.modules.quickbooks.api.QuickBooksClient#findObjects()

public T getObject (EntityType type, IdType id, String accessKey, String accessSecret)

Parameters
type
id
accessKey
accessSecret
See Also
  • org.mule.modules.quickbooks.api.QuickBooksClient#getObject()

public void setResultsPerPage (Integer resultsPerPage)

Parameters
resultsPerPage

public T update (EntityType type, T obj, String accessKey, String accessSecret)

Parameters
type
obj
accessKey
accessSecret
See Also
  • org.mule.modules.quickbooks.api.QuickBooksClient#update(java.lang.String)