-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
aa6faf2
commit 88f0bee
Showing
4 changed files
with
25 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
""" | ||
Quickbooks Online Tax Codes | ||
""" | ||
from .api_base import ApiBase | ||
|
||
|
||
class TaxCodes(ApiBase): | ||
"""Class for TaxCode APIs.""" | ||
|
||
GET_TAX_CODES = '/query?query=select * from TaxCode STARTPOSITION {0} MAXRESULTS 1000' | ||
|
||
def get(self): | ||
"""Get a list of the existing Tax Code in the Organization. | ||
Returns: | ||
Dict in TaxCode schema. | ||
""" | ||
return self._query_get_all('TaxCode', TaxCodes.GET_TAX_CODES) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ | |
|
||
setuptools.setup( | ||
name='qbosdk', | ||
version='0.10.0', | ||
version='0.11.0', | ||
author='Shwetabh Kumar', | ||
author_email='[email protected]', | ||
description='Python SDK for accessing Quickbooks Online APIs', | ||
|