Skip to content

Commit

Permalink
Documentation updates.
Browse files Browse the repository at this point in the history
  • Loading branch information
vcatalano committed Sep 3, 2016
1 parent bb2a269 commit 823b1e1
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 23 deletions.
4 changes: 2 additions & 2 deletions docs/customer.rst
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ can be provided as well.
# e.g. '19086352'
Creating Profile from a transaction ID
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Creating Profile from a Transaction
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. code-block:: python
Expand Down
49 changes: 28 additions & 21 deletions docs/transaction.rst
Original file line number Diff line number Diff line change
Expand Up @@ -84,27 +84,34 @@ Full Example
'description': 'I can''t believe you would pay for duty',
},
'line_items': [{
'item_id': 'CIR0001',
'name': 'Circuit Board',
'description': 'A brand new robot component',
'quantity': 5,
'unit_price': 4.00,
'taxable': 'true',
}, {
'item_id': 'CIR0002',
'name': 'Circuit Board 2.0',
'description': 'Another new robot component',
'quantity': 1,
'unit_price': 10.00,
'taxable': 'true',
}, {
'item_id': 'SCRDRVR',
'name': 'Screwdriver',
'description': 'A basic screwdriver',
'quantity': 1,
'unit_price': 10.00,
'taxable': 'true',
}],
'item_id': 'CIR0001',
'name': 'Circuit Board',
'description': 'A brand new robot component',
'quantity': 5,
'unit_price': 4.00,
'taxable': 'true',
}, {
'item_id': 'CIR0002',
'name': 'Circuit Board 2.0',
'description': 'Another new robot component',
'quantity': 1,
'unit_price': 10.00,
'taxable': 'true',
}, {
'item_id': 'SCRDRVR',
'name': 'Screwdriver',
'description': 'A basic screwdriver',
'quantity': 1,
'unit_price': 10.00,
'taxable': 'true',
}],
'user_fields': [{
'name': 'additionalDescription',
'value': 'An additional description goes here...'
}, {
'name': 'moreInfo',
'value': 'This is some more information...'
}]
'order': {
'invoice_number': 'INV0001',
'description': 'Just another invoice...',
Expand Down

0 comments on commit 823b1e1

Please sign in to comment.