Skip to content

Commit

Permalink
Add amount_pending to Booking
Browse files Browse the repository at this point in the history
  • Loading branch information
bartek committed Nov 30, 2017
1 parent ec6dbac commit 57ec480
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions gapipy/resources/booking/booking.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# Python 2 and 3
from __future__ import unicode_literals

from ..base import Resource
from gapipy.resources.checkin import Checkin

from ..base import Resource
from .transaction import Payment, Refund
from .document import Invoice, Document
from .override import Override
from .service import Service
from gapipy.resources.checkin import Checkin


class Booking(Resource):
Expand All @@ -16,7 +16,11 @@ class Booking(Resource):

_as_is_fields = ['id', 'href', 'external_id', 'currency']
_price_fields = [
'amount_paid', 'amount_owing', 'commission', 'tax_on_commission',
'amount_owing',
'amount_paid',
'amount_pending',
'commission',
'tax_on_commission',
]
_date_fields = [
'date_closed', 'date_of_first_travel', 'date_of_last_travel',
Expand Down

0 comments on commit 57ec480

Please sign in to comment.