python-terminusgps 28.1.0__py3-none-any.whl → 28.1.2__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 python-terminusgps might be problematic. Click here for more details.
- {python_terminusgps-28.1.0.dist-info → python_terminusgps-28.1.2.dist-info}/METADATA +1 -1
- {python_terminusgps-28.1.0.dist-info → python_terminusgps-28.1.2.dist-info}/RECORD +5 -5
- terminusgps/authorizenet/profiles/subscriptions.py +12 -10
- {python_terminusgps-28.1.0.dist-info → python_terminusgps-28.1.2.dist-info}/WHEEL +0 -0
- {python_terminusgps-28.1.0.dist-info → python_terminusgps-28.1.2.dist-info}/licenses/COPYING +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: python-terminusgps
|
|
3
|
-
Version: 28.1.
|
|
3
|
+
Version: 28.1.2
|
|
4
4
|
Summary: Provides abstractions/utilities for working with Wialon API, Authorize.NET API, AWS API, and more.
|
|
5
5
|
Project-URL: Documentation, https://app.terminusgps.com/docs/apps/python-terminusgps/index.html
|
|
6
6
|
Project-URL: Repository, https://github.com/terminusgps/python-terminusgps
|
|
@@ -9,7 +9,7 @@ terminusgps/authorizenet/profiles/addresses.py,sha256=7yrOrb9kIsiiazgWbeH8v_YUBi
|
|
|
9
9
|
terminusgps/authorizenet/profiles/base.py,sha256=TOUHr22QRQBLErdysOkfcpJBusTjrUTqOmWEyNvMacA,2240
|
|
10
10
|
terminusgps/authorizenet/profiles/customers.py,sha256=-F8IsQEn2CyHpfxyVZjKayHSuVe4ENNUj_ck7SE8LO0,8568
|
|
11
11
|
terminusgps/authorizenet/profiles/payments.py,sha256=ohhZrs9MB7GkCi7jQvPVvELNKnR9BwzMd607jJmT4n4,11316
|
|
12
|
-
terminusgps/authorizenet/profiles/subscriptions.py,sha256=
|
|
12
|
+
terminusgps/authorizenet/profiles/subscriptions.py,sha256=m8X7tE8UKyD7XiLNye0EBxETp4N8S9HS3lpYAMjizf8,12478
|
|
13
13
|
terminusgps/aws/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
14
14
|
terminusgps/aws/secrets.py,sha256=MxQEmmBLpMUQ2tYAsHdCYf-7RZ84LiogdKcTsACX5dw,361
|
|
15
15
|
terminusgps/twilio/__init__.py,sha256=dYo41F2jft_eHDWSUtSpKGSRG1bewq_qClqilUJZkYM,33
|
|
@@ -29,7 +29,7 @@ terminusgps/wialon/items/route.py,sha256=8SzlqNmpYVdt-ZAY--B_KHoDIHgN0Zb7KBsBWAz
|
|
|
29
29
|
terminusgps/wialon/items/unit.py,sha256=i7sQiRu3N0XxyTHVN2RnmjYy9X48KdnZLSB18ic37w8,9363
|
|
30
30
|
terminusgps/wialon/items/unit_group.py,sha256=YsYh34l2DjSKcv5SIZkEVi5FSjveGB1gxU2fwdLyvl4,4101
|
|
31
31
|
terminusgps/wialon/items/user.py,sha256=PFYBie04F16YE2B5364PLxkmlTmQr4sZXpItvRBxsDc,7143
|
|
32
|
-
python_terminusgps-28.1.
|
|
33
|
-
python_terminusgps-28.1.
|
|
34
|
-
python_terminusgps-28.1.
|
|
35
|
-
python_terminusgps-28.1.
|
|
32
|
+
python_terminusgps-28.1.2.dist-info/METADATA,sha256=l3XpTPkz5hesLqux7ez0cAmQ70bCKiUl-YMTVaSJq0c,946
|
|
33
|
+
python_terminusgps-28.1.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
34
|
+
python_terminusgps-28.1.2.dist-info/licenses/COPYING,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
|
35
|
+
python_terminusgps-28.1.2.dist-info/RECORD,,
|
|
@@ -35,11 +35,11 @@ class SubscriptionProfile(ControllerExecutionMixin):
|
|
|
35
35
|
:type amount: :py:obj:`~decimal.Decimal`
|
|
36
36
|
:param schedule: A payment schedule for the subscription.
|
|
37
37
|
:type amount: :py:obj:`~authorizenet.apicontractsv1.paymentScheduleType`
|
|
38
|
-
:param profile_id: An
|
|
38
|
+
:param profile_id: An Authorizenet customer profile id.
|
|
39
39
|
:type profile_id: :py:obj:`int` | :py:obj:`str`
|
|
40
|
-
:param payment_id: An
|
|
40
|
+
:param payment_id: An Authorizenet customer payment profile id.
|
|
41
41
|
:type payment_id: :py:obj:`int` | :py:obj:`str`
|
|
42
|
-
:param address_id: An
|
|
42
|
+
:param address_id: An Authorizenet customer address profile id.
|
|
43
43
|
:type address_id: :py:obj:`int` | :py:obj:`str`
|
|
44
44
|
:param trial_amount: Trial amount for the subscription. Default is ``0.00``.
|
|
45
45
|
:type trial_amount: :py:obj:`~decimal.Decimal`
|
|
@@ -110,11 +110,11 @@ class SubscriptionProfile(ControllerExecutionMixin):
|
|
|
110
110
|
:type amount: :py:obj:`~decimal.Decimal`
|
|
111
111
|
:param schedule: A payment schedule for the subscription.
|
|
112
112
|
:type amount: :py:obj:`~authorizenet.apicontractsv1.paymentScheduleType`
|
|
113
|
-
:param profile_id: An
|
|
113
|
+
:param profile_id: An Authorizenet customer profile id.
|
|
114
114
|
:type profile_id: :py:obj:`int` | :py:obj:`str`
|
|
115
|
-
:param payment_id: An
|
|
115
|
+
:param payment_id: An Authorizenet customer payment profile id.
|
|
116
116
|
:type payment_id: :py:obj:`int` | :py:obj:`str`
|
|
117
|
-
:param address_id: An
|
|
117
|
+
:param address_id: An Authorizenet customer address profile id.
|
|
118
118
|
:type address_id: :py:obj:`int` | :py:obj:`str`
|
|
119
119
|
:param trial_amount: Trial amount for the subscription. Default is ``0.00``.
|
|
120
120
|
:type trial_amount: :py:obj:`~decimal.Decimal`
|
|
@@ -205,7 +205,7 @@ class SubscriptionProfile(ControllerExecutionMixin):
|
|
|
205
205
|
|
|
206
206
|
request = apicontractsv1.ARBGetSubscriptionRequest(
|
|
207
207
|
merchantAuthentication=self.merchantAuthentication,
|
|
208
|
-
subscriptionId=self.id,
|
|
208
|
+
subscriptionId=str(self.id),
|
|
209
209
|
includeTransactions=str(include_transactions).lower(),
|
|
210
210
|
)
|
|
211
211
|
controller = apicontrollers.ARBGetSubscriptionController(request)
|
|
@@ -226,7 +226,8 @@ class SubscriptionProfile(ControllerExecutionMixin):
|
|
|
226
226
|
assert self.id, "'id' was not set."
|
|
227
227
|
|
|
228
228
|
request = apicontractsv1.ARBGetSubscriptionStatusRequest(
|
|
229
|
-
merchantAuthentication=self.merchantAuthentication,
|
|
229
|
+
merchantAuthentication=self.merchantAuthentication,
|
|
230
|
+
subscriptionId=str(self.id),
|
|
230
231
|
)
|
|
231
232
|
controller = apicontrollers.ARBGetSubscriptionStatusController(request)
|
|
232
233
|
return self.execute_controller(controller)
|
|
@@ -249,7 +250,7 @@ class SubscriptionProfile(ControllerExecutionMixin):
|
|
|
249
250
|
|
|
250
251
|
request = apicontractsv1.ARBUpdateSubscriptionRequest(
|
|
251
252
|
merchantAuthentication=self.merchantAuthentication,
|
|
252
|
-
subscriptionId=self.id,
|
|
253
|
+
subscriptionId=str(self.id),
|
|
253
254
|
subscription=subscription,
|
|
254
255
|
)
|
|
255
256
|
controller = apicontrollers.ARBUpdateSubscriptionController(request)
|
|
@@ -270,7 +271,8 @@ class SubscriptionProfile(ControllerExecutionMixin):
|
|
|
270
271
|
assert self.id, "'id' was not set."
|
|
271
272
|
|
|
272
273
|
request = apicontractsv1.ARBCancelSubscriptionRequest(
|
|
273
|
-
merchantAuthentication=self.merchantAuthentication,
|
|
274
|
+
merchantAuthentication=self.merchantAuthentication,
|
|
275
|
+
subscriptionId=str(self.id),
|
|
274
276
|
)
|
|
275
277
|
controller = apicontrollers.ARBCancelSubscriptionController(request)
|
|
276
278
|
return self.execute_controller(controller)
|
|
File without changes
|
{python_terminusgps-28.1.0.dist-info → python_terminusgps-28.1.2.dist-info}/licenses/COPYING
RENAMED
|
File without changes
|