Skip to content

Commit

Permalink
Add transaction_fees_in_cents [ch3025] (#19)
Browse files Browse the repository at this point in the history
* Add transaction_fees_in_cents [ch3025]

* Build settings

* Nightly isn't supported on trusty
  • Loading branch information
pkopac authored Mar 14, 2018
1 parent 16ca0f8 commit b5c465a
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
8 changes: 7 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,18 @@
language: python

python:
- "2.7"
- "3.3"
- "3.4"
- "3.5"
- "3.6"
- "nightly" # currently points to 3.7-dev

# command to install dependencies
install: "pip install -r requirements.txt"

# command to run tests
script: python setup.py test

branches:
only:
- master
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

## Installation

This library requires Python 2.7 or 3.3 and above.
This library requires Python 2.7 or 3.3 to 3.6.

```sh
pip install chartmogul
Expand Down
2 changes: 1 addition & 1 deletion chartmogul/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"""

__title__ = 'chartmogul'
__version__ = '1.1.6'
__version__ = '1.1.7'
__build__ = 0x000000
__author__ = 'ChartMogul Ltd'
__license__ = 'MIT'
Expand Down
1 change: 1 addition & 0 deletions chartmogul/api/invoice.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ class _Schema(Schema):
discount_code = fields.String(allow_none=True)
discount_amount_in_cents = fields.Int()
tax_amount_in_cents = fields.Int()
transaction_fees_in_cents = fields.Int()
account_code = fields.String(allow_none=True)

@post_load
Expand Down

0 comments on commit b5c465a

Please sign in to comment.