-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add mark as paid API, remove settlement (#87)
* Add mark as paid API, remove settlement * version bump up
- Loading branch information
1 parent
6fecaf3
commit 9a349e0
Showing
3 changed files
with
19 additions
and
1 deletion.
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,16 @@ | ||
from ....internals.post_resources import PostResources | ||
|
||
|
||
class Reports(PostResources): | ||
|
||
REPORTS = '/reports' | ||
MARK_AS_PAID = '/reports/mark_paid/bulk' | ||
|
||
def __init__(self, version, role): | ||
super().__init__(version, role, Reports.REPORTS) | ||
|
||
def bulk_mark_as_paid(self, payload): | ||
return self.api.make_post_request( | ||
api_url=Reports.MARK_AS_PAID, | ||
payload=payload | ||
) |
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 |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
|
||
setuptools.setup( | ||
name='fyle', | ||
version='v0.36.1', | ||
version='v0.37.0', | ||
author='Siva Narayanan', | ||
author_email='[email protected]', | ||
description='Python SDK for accessing Fyle Platform APIs', | ||
|