payrex-python 1.7.1__tar.gz → 1.7.2__tar.gz

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.
Files changed (51) hide show
  1. {payrex_python-1.7.1 → payrex_python-1.7.2}/PKG-INFO +1 -1
  2. {payrex_python-1.7.1 → payrex_python-1.7.2}/payrex/services/payment_intent_service.py +7 -0
  3. {payrex_python-1.7.1 → payrex_python-1.7.2}/payrex_python.egg-info/PKG-INFO +1 -1
  4. {payrex_python-1.7.1 → payrex_python-1.7.2}/setup.py +1 -1
  5. {payrex_python-1.7.1 → payrex_python-1.7.2}/LICENSE +0 -0
  6. {payrex_python-1.7.1 → payrex_python-1.7.2}/README.md +0 -0
  7. {payrex_python-1.7.1 → payrex_python-1.7.2}/payrex/__init__.py +0 -0
  8. {payrex_python-1.7.1 → payrex_python-1.7.2}/payrex/api_resource.py +0 -0
  9. {payrex_python-1.7.1 → payrex_python-1.7.2}/payrex/client.py +0 -0
  10. {payrex_python-1.7.1 → payrex_python-1.7.2}/payrex/config.py +0 -0
  11. {payrex_python-1.7.1 → payrex_python-1.7.2}/payrex/entities/__init__.py +0 -0
  12. {payrex_python-1.7.1 → payrex_python-1.7.2}/payrex/entities/billing_statement_entity.py +0 -0
  13. {payrex_python-1.7.1 → payrex_python-1.7.2}/payrex/entities/billing_statement_line_item_entity.py +0 -0
  14. {payrex_python-1.7.1 → payrex_python-1.7.2}/payrex/entities/checkout_session_entity.py +0 -0
  15. {payrex_python-1.7.1 → payrex_python-1.7.2}/payrex/entities/customer_entity.py +0 -0
  16. {payrex_python-1.7.1 → payrex_python-1.7.2}/payrex/entities/customer_session_entity.py +0 -0
  17. {payrex_python-1.7.1 → payrex_python-1.7.2}/payrex/entities/deleted_entity.py +0 -0
  18. {payrex_python-1.7.1 → payrex_python-1.7.2}/payrex/entities/event_entity.py +0 -0
  19. {payrex_python-1.7.1 → payrex_python-1.7.2}/payrex/entities/listing_entity.py +0 -0
  20. {payrex_python-1.7.1 → payrex_python-1.7.2}/payrex/entities/payment_entity.py +0 -0
  21. {payrex_python-1.7.1 → payrex_python-1.7.2}/payrex/entities/payment_intent_entity.py +0 -0
  22. {payrex_python-1.7.1 → payrex_python-1.7.2}/payrex/entities/payout_entity.py +0 -0
  23. {payrex_python-1.7.1 → payrex_python-1.7.2}/payrex/entities/payout_transaction_entity.py +0 -0
  24. {payrex_python-1.7.1 → payrex_python-1.7.2}/payrex/entities/refund_entity.py +0 -0
  25. {payrex_python-1.7.1 → payrex_python-1.7.2}/payrex/entities/webhook_entity.py +0 -0
  26. {payrex_python-1.7.1 → payrex_python-1.7.2}/payrex/error.py +0 -0
  27. {payrex_python-1.7.1 → payrex_python-1.7.2}/payrex/exceptions/__init__.py +0 -0
  28. {payrex_python-1.7.1 → payrex_python-1.7.2}/payrex/exceptions/authentication_invalid_exception.py +0 -0
  29. {payrex_python-1.7.1 → payrex_python-1.7.2}/payrex/exceptions/base_exception.py +0 -0
  30. {payrex_python-1.7.1 → payrex_python-1.7.2}/payrex/exceptions/request_invalid_exception.py +0 -0
  31. {payrex_python-1.7.1 → payrex_python-1.7.2}/payrex/exceptions/resource_not_found_exception.py +0 -0
  32. {payrex_python-1.7.1 → payrex_python-1.7.2}/payrex/exceptions/signature_invalid_exception.py +0 -0
  33. {payrex_python-1.7.1 → payrex_python-1.7.2}/payrex/exceptions/value_unexpected_exception.py +0 -0
  34. {payrex_python-1.7.1 → payrex_python-1.7.2}/payrex/http_client.py +0 -0
  35. {payrex_python-1.7.1 → payrex_python-1.7.2}/payrex/services/__init__.py +0 -0
  36. {payrex_python-1.7.1 → payrex_python-1.7.2}/payrex/services/base_service.py +0 -0
  37. {payrex_python-1.7.1 → payrex_python-1.7.2}/payrex/services/billing_statement_line_item_service.py +0 -0
  38. {payrex_python-1.7.1 → payrex_python-1.7.2}/payrex/services/billing_statement_service.py +0 -0
  39. {payrex_python-1.7.1 → payrex_python-1.7.2}/payrex/services/checkout_session_service.py +0 -0
  40. {payrex_python-1.7.1 → payrex_python-1.7.2}/payrex/services/customer_service.py +0 -0
  41. {payrex_python-1.7.1 → payrex_python-1.7.2}/payrex/services/customer_session_service.py +0 -0
  42. {payrex_python-1.7.1 → payrex_python-1.7.2}/payrex/services/payment_service.py +0 -0
  43. {payrex_python-1.7.1 → payrex_python-1.7.2}/payrex/services/payout_service.py +0 -0
  44. {payrex_python-1.7.1 → payrex_python-1.7.2}/payrex/services/refund_service.py +0 -0
  45. {payrex_python-1.7.1 → payrex_python-1.7.2}/payrex/services/service_factory.py +0 -0
  46. {payrex_python-1.7.1 → payrex_python-1.7.2}/payrex/services/webhook_service.py +0 -0
  47. {payrex_python-1.7.1 → payrex_python-1.7.2}/payrex_python.egg-info/SOURCES.txt +0 -0
  48. {payrex_python-1.7.1 → payrex_python-1.7.2}/payrex_python.egg-info/dependency_links.txt +0 -0
  49. {payrex_python-1.7.1 → payrex_python-1.7.2}/payrex_python.egg-info/requires.txt +0 -0
  50. {payrex_python-1.7.1 → payrex_python-1.7.2}/payrex_python.egg-info/top_level.txt +0 -0
  51. {payrex_python-1.7.1 → payrex_python-1.7.2}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: payrex-python
3
- Version: 1.7.1
3
+ Version: 1.7.2
4
4
  Summary: PayRex Python Library
5
5
  Home-page: https://github.com/payrexhq/payrex-python
6
6
  Author: PayRex
@@ -7,6 +7,13 @@ class PaymentIntentService(BaseService):
7
7
  def __init__(self, client):
8
8
  BaseService.__init__(self, client)
9
9
 
10
+ def cancel(self, id):
11
+ return self.request(
12
+ method='post',
13
+ object=PaymentIntentEntity,
14
+ path=f'{self.PATH}/{id}/cancel'
15
+ )
16
+
10
17
  def capture(self, id, payload):
11
18
  return self.request(
12
19
  method='post',
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: payrex-python
3
- Version: 1.7.1
3
+ Version: 1.7.2
4
4
  Summary: PayRex Python Library
5
5
  Home-page: https://github.com/payrexhq/payrex-python
6
6
  Author: PayRex
@@ -3,7 +3,7 @@ from pathlib import Path
3
3
 
4
4
  setup(
5
5
  name='payrex-python',
6
- version='1.7.1',
6
+ version='1.7.2',
7
7
  author='PayRex',
8
8
  author_email='support@payrexhq.com',
9
9
  description='PayRex Python Library',
File without changes
File without changes
File without changes