def testscheduled(self):
     transactions.scheduled(alternate_token='AN OAUTH TOKEN',
                            dwollaparse='dwolla')
     transactions.r._get.assert_any_call('/transactions/scheduled', {}, {
         'alternate_token': 'AN OAUTH TOKEN',
         'dwollaparse': 'dwolla'
     })
Ejemplo n.º 2
0
 def testscheduled(self):
     transactions.scheduled(alternate_token='AN OAUTH TOKEN', dwollaparse='dwolla')
     transactions.r._get.assert_any_call('/transactions/scheduled', {}, {'alternate_token':'AN OAUTH TOKEN', 'dwollaparse':'dwolla'})
Ejemplo n.º 3
0
#     "FundingSource": "5da016f7769bcc1de9998a30d194d5a7",
#     "AssumeCosts": false,
#     "Destination": {
#         "Id": "812-111-1111",
#         "Name": "Jane Doe",
#         "Type": "Dwolla",
#         "Image": "http://www.dwolla.com/avatars/812-111-1111"
#     },
#     "Status": "scheduled",
#     "CreatedDate": "2014-09-12T20:37:37Z",
#     "Metadata": {
#       "foo": "bar"
#     }

# Example 7: Get all scheduled transactions
print(transactions.scheduled())
# Return: List of scheduled transactions
#[
#     "Id": "asr3r34t",
#     "ScheduledDate": "2018-01-01",
#     "ExpectedClearingDate": "2018-01-06",
#     "TransactionId": null,
#     "Amount": 10.50,
#     "FundingSource": "5da016f7769bcc1de9998a30d194d5a7",
#     "AssumeCosts": false,
#     "Destination": {
#         "Id": "812-111-1111",
#         "Name": "Jane Doe",
#         "Type": "Dwolla",
#         "Image": "http://www.dwolla.com/avatars/812-111-1111"
#     },
Ejemplo n.º 4
0
 def testscheduled(self):
     transactions.scheduled()
     transactions.r._get.assert_any_call('/transactions/scheduled', {'oauth_token': 'AN OAUTH TOKEN'}, dwollaparse='dwolla')
Ejemplo n.º 5
0
#     "FundingSource": "5da016f7769bcc1de9998a30d194d5a7",
#     "AssumeCosts": false,
#     "Destination": {
#         "Id": "812-111-1111",
#         "Name": "Jane Doe",
#         "Type": "Dwolla",
#         "Image": "http://www.dwolla.com/avatars/812-111-1111"
#     },
#     "Status": "scheduled",
#     "CreatedDate": "2014-09-12T20:37:37Z",
#     "Metadata": {
#       "foo": "bar"
#     }

# Example 7: Get all scheduled transactions
print(transactions.scheduled())
# Return: List of scheduled transactions
#[
#     "Id": "asr3r34t",
#     "ScheduledDate": "2018-01-01",
#     "ExpectedClearingDate": "2018-01-06",
#     "TransactionId": null,
#     "Amount": 10.50,
#     "FundingSource": "5da016f7769bcc1de9998a30d194d5a7",
#     "AssumeCosts": false,
#     "Destination": {
#         "Id": "812-111-1111",
#         "Name": "Jane Doe",
#         "Type": "Dwolla",
#         "Image": "http://www.dwolla.com/avatars/812-111-1111"
#     },