paymentsgate 1.4.8__py3-none-any.whl → 1.4.9__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of paymentsgate might be problematic. Click here for more details.
- paymentsgate/client.py +4 -5
- {paymentsgate-1.4.8.dist-info → paymentsgate-1.4.9.dist-info}/METADATA +1 -1
- {paymentsgate-1.4.8.dist-info → paymentsgate-1.4.9.dist-info}/RECORD +5 -5
- {paymentsgate-1.4.8.dist-info → paymentsgate-1.4.9.dist-info}/LICENSE +0 -0
- {paymentsgate-1.4.8.dist-info → paymentsgate-1.4.9.dist-info}/WHEEL +0 -0
paymentsgate/client.py
CHANGED
|
@@ -90,7 +90,7 @@ class ApiClient:
|
|
|
90
90
|
else:
|
|
91
91
|
raise APIResponseError(response)
|
|
92
92
|
|
|
93
|
-
def Quote(self,
|
|
93
|
+
def Quote(self, params: GetQuoteModel) -> GetQuoteResponseModel:
|
|
94
94
|
# Prepare request
|
|
95
95
|
request = Request(
|
|
96
96
|
method="get",
|
|
@@ -98,7 +98,7 @@ class ApiClient:
|
|
|
98
98
|
content_type='application/json',
|
|
99
99
|
noAuth=False,
|
|
100
100
|
signature=False,
|
|
101
|
-
body=
|
|
101
|
+
body=params
|
|
102
102
|
)
|
|
103
103
|
|
|
104
104
|
# Handle response
|
|
@@ -109,15 +109,14 @@ class ApiClient:
|
|
|
109
109
|
|
|
110
110
|
return response.cast(GetQuoteResponseModel, APIResponseError)
|
|
111
111
|
|
|
112
|
-
def Status(self,
|
|
112
|
+
def Status(self, id: str) -> InvoiceModel:
|
|
113
113
|
# Prepare request
|
|
114
114
|
request = Request(
|
|
115
115
|
method="get",
|
|
116
|
-
path=ApiPaths.invoices_info,
|
|
116
|
+
path=ApiPaths.invoices_info.replace(':id', id),
|
|
117
117
|
content_type='application/json',
|
|
118
118
|
noAuth=False,
|
|
119
119
|
signature=False,
|
|
120
|
-
body=request
|
|
121
120
|
)
|
|
122
121
|
|
|
123
122
|
# Handle response
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
paymentsgate/__init__.py,sha256=53DrE7IRD2NFQshE2EGYQ28jLr-ro45iFei28ZMOezI,336
|
|
2
2
|
paymentsgate/cache.py,sha256=w3xB3iaYPxVEZbeWxpWM1PQT-JctspoI5qC9bv6Xmts,1002
|
|
3
|
-
paymentsgate/client.py,sha256=
|
|
3
|
+
paymentsgate/client.py,sha256=xawYI252rRY1Yi3QKpTdWCDjHdu2uBRBUvKtNoryrmI,7566
|
|
4
4
|
paymentsgate/enums.py,sha256=wvDeVQvSO5WPPSWd1XKOh-8vgI1gsK2wyfMi7P8vay0,3311
|
|
5
5
|
paymentsgate/exceptions.py,sha256=fQniUSQp8XkWXPCITHDUbVNcDwSPA8rJpwbbhJ8wfNQ,1306
|
|
6
6
|
paymentsgate/logger.py,sha256=QY6upavgb2y9dRQG05NwF_OTxP7bPspZR5QdpCjJULI,221
|
|
7
7
|
paymentsgate/models.py,sha256=LEwaoy2rkdA-2BLJoV85aKBlDMDu4NETZ0thCrBIV1g,5017
|
|
8
8
|
paymentsgate/tokens.py,sha256=qdvCQJ9jYIRKSxlmm5gip-nMAQWH8_EHys9zwel4oaU,916
|
|
9
9
|
paymentsgate/transport.py,sha256=pOmvDZh06uIGIUWTFi0vgf8pAgQT1f96ArcJNycU2Ks,785
|
|
10
|
-
paymentsgate-1.4.
|
|
11
|
-
paymentsgate-1.4.
|
|
12
|
-
paymentsgate-1.4.
|
|
13
|
-
paymentsgate-1.4.
|
|
10
|
+
paymentsgate-1.4.9.dist-info/LICENSE,sha256=4xWMZLmqNJ6602DZLEg0A9v03uT4xMq_-XSIxvXvfYM,1075
|
|
11
|
+
paymentsgate-1.4.9.dist-info/WHEEL,sha256=bbU3AyvhQ312rVm7zzRQjs6axI1UYWC3nmFA2E6FFSI,88
|
|
12
|
+
paymentsgate-1.4.9.dist-info/METADATA,sha256=iOdFgWAzkyAwCYTriGi2AW0svSwVgV79NgXiS-EvocE,4020
|
|
13
|
+
paymentsgate-1.4.9.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|