Skip to content

Commit 9f9c0a5

Browse files
committed
Minor cleanup
1 parent 430a71a commit 9f9c0a5

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

square/api/refunds_api.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@ def __init__(self, config):
2020
def list_payment_refunds(self,
2121
begin_time=None,
2222
end_time=None,
23-
updated_at_begin_time=None,
24-
updated_at_end_time=None,
25-
sort_field=None,
2623
sort_order=None,
2724
cursor=None,
2825
location_id=None,
2926
status=None,
3027
source_type=None,
31-
limit=None):
28+
limit=None,
29+
updated_at_begin_time=None,
30+
updated_at_end_time=None,
31+
sort_field=None):
3232
"""Does a GET request to /v2/refunds.
3333
3434
Retrieves a list of refunds for the account making the request.
@@ -79,7 +79,7 @@ def list_payment_refunds(self,
7979
to retrieve each `PaymentRefund` for, in RFC 3339 format.
8080
The range is determined using the `updated_at` field for each
8181
`PaymentRefund`. Default: if omitted, the time range starts at
82-
`beginTime`.
82+
`begin_time`.
8383
updated_at_end_time (str, optional): Indicates the end of the time range to
8484
retrieve each `PaymentRefund` for, in RFC 3339 format. The
8585
range is determined using the `updated_at` field for each

tests/api/test_refunds_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# -*- coding: utf-8 -*-
22

3-
from tests.api.api_test_base import ApiTestBase
43
from tests.test_helper import TestHelper
4+
from tests.api.api_test_base import ApiTestBase
55

66

77
class RefundsApiTests(ApiTestBase):

0 commit comments

Comments
 (0)