Skip to content

Commit

Permalink
Merge pull request #13 from VolVoz/update_docs
Browse files Browse the repository at this point in the history
extend amountPaid field behaviout docs
  • Loading branch information
vmaksymiv committed May 31, 2016
2 parents 0abfb8b + ecefcb7 commit 5d33dde
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docs/source/standard/contract.rst
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,13 @@ Schema
List of :ref:`Change` objects.

:amountPaid:
:ref:`Value` object.

:amount:
┆ float, required
:currency:
┆ string, required, autogenerated
:valueAddedTaxIncluded:
┆ bool, required , autogenerated

Amount of money actually paid.

Expand Down
1 change: 1 addition & 0 deletions docs/source/tutorial.rst
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,7 @@ Let's perform these actions in single request:
.. include:: tutorial/contract-termination.http
:code:

Note that you can set/change only ``amountPaid.amount`` value. ``amountPaid.currency`` and ``amountPaid.valueAddedTaxIncluded`` fields values are generated from Contract.value field.

If contract is unsuccessful reasons for termination ``terminationDetails`` should be specified.

Expand Down

0 comments on commit 5d33dde

Please sign in to comment.