postfinancecheckout 5.0.0__tar.gz → 5.1.0__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 (419) hide show
  1. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/PKG-INFO +1 -1
  2. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/api/charge_flow_service_api.py +1 -1
  3. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/api/human_user_service_api.py +1 -1
  4. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/api/transaction_iframe_service_api.py +1 -1
  5. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/api/transaction_lightbox_service_api.py +1 -1
  6. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/api/transaction_mobile_sdk_service_api.py +1 -1
  7. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/api/transaction_payment_page_service_api.py +1 -1
  8. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/api/transaction_service_api.py +1 -1
  9. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/api_client.py +3 -3
  10. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/configuration.py +2 -2
  11. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout.egg-info/PKG-INFO +1 -1
  12. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout.egg-info/SOURCES.txt +2 -0
  13. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/setup.py +1 -1
  14. postfinancecheckout-5.1.0/test/test_charge_attempt_service.py +81 -0
  15. postfinancecheckout-5.1.0/test/test_transaction_invoice_service.py +132 -0
  16. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/test/test_transaction_service.py +1 -1
  17. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/LICENSE +0 -0
  18. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/README.md +0 -0
  19. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/__init__.py +0 -0
  20. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/api/__init__.py +0 -0
  21. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/api/account_service_api.py +0 -0
  22. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/api/analytics_query_service_api.py +0 -0
  23. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/api/application_user_service_api.py +0 -0
  24. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/api/bank_account_service_api.py +0 -0
  25. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/api/bank_transaction_service_api.py +0 -0
  26. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/api/card_processing_service_api.py +0 -0
  27. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/api/charge_attempt_service_api.py +0 -0
  28. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/api/charge_bank_transaction_service_api.py +0 -0
  29. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/api/charge_flow_level_payment_link_service_api.py +0 -0
  30. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/api/charge_flow_level_service_api.py +0 -0
  31. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/api/condition_type_service_api.py +0 -0
  32. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/api/country_service_api.py +0 -0
  33. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/api/country_state_service_api.py +0 -0
  34. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/api/currency_bank_account_service_api.py +0 -0
  35. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/api/currency_service_api.py +0 -0
  36. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/api/customer_address_service_api.py +0 -0
  37. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/api/customer_comment_service_api.py +0 -0
  38. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/api/customer_service_api.py +0 -0
  39. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/api/delivery_indication_service_api.py +0 -0
  40. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/api/document_template_service_api.py +0 -0
  41. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/api/document_template_type_service_api.py +0 -0
  42. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/api/external_transfer_bank_transaction_service_api.py +0 -0
  43. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/api/internal_transfer_bank_transaction_service_api.py +0 -0
  44. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/api/invoice_reconciliation_record_invoice_link_service_api.py +0 -0
  45. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/api/invoice_reconciliation_record_service_api.py +0 -0
  46. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/api/invoice_reimbursement_service_api.py +0 -0
  47. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/api/label_description_group_service_api.py +0 -0
  48. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/api/label_description_service_api.py +0 -0
  49. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/api/language_service_api.py +0 -0
  50. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/api/legal_organization_form_service_api.py +0 -0
  51. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/api/manual_task_service_api.py +0 -0
  52. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/api/payment_connector_configuration_service_api.py +0 -0
  53. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/api/payment_connector_service_api.py +0 -0
  54. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/api/payment_link_service_api.py +0 -0
  55. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/api/payment_method_brand_service_api.py +0 -0
  56. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/api/payment_method_configuration_service_api.py +0 -0
  57. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/api/payment_method_service_api.py +0 -0
  58. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/api/payment_processor_configuration_service_api.py +0 -0
  59. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/api/payment_processor_service_api.py +0 -0
  60. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/api/payment_terminal_service_api.py +0 -0
  61. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/api/payment_terminal_till_service_api.py +0 -0
  62. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/api/payment_terminal_transaction_summary_service_api.py +0 -0
  63. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/api/permission_service_api.py +0 -0
  64. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/api/refund_bank_transaction_service_api.py +0 -0
  65. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/api/refund_comment_service_api.py +0 -0
  66. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/api/refund_recovery_bank_transaction_service_api.py +0 -0
  67. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/api/refund_service_api.py +0 -0
  68. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/api/shopify_recurring_order_service_api.py +0 -0
  69. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/api/shopify_subscriber_service_api.py +0 -0
  70. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/api/shopify_subscription_product_service_api.py +0 -0
  71. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/api/shopify_subscription_service_api.py +0 -0
  72. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/api/shopify_subscription_suspension_service_api.py +0 -0
  73. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/api/shopify_subscription_version_service_api.py +0 -0
  74. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/api/shopify_transaction_service_api.py +0 -0
  75. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/api/space_service_api.py +0 -0
  76. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/api/static_value_service_api.py +0 -0
  77. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/api/token_service_api.py +0 -0
  78. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/api/token_version_service_api.py +0 -0
  79. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/api/transaction_comment_service_api.py +0 -0
  80. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/api/transaction_completion_service_api.py +0 -0
  81. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/api/transaction_invoice_comment_service_api.py +0 -0
  82. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/api/transaction_invoice_service_api.py +0 -0
  83. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/api/transaction_line_item_version_service_api.py +0 -0
  84. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/api/transaction_terminal_service_api.py +0 -0
  85. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/api/transaction_void_service_api.py +0 -0
  86. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/api/user_account_role_service_api.py +0 -0
  87. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/api/user_space_role_service_api.py +0 -0
  88. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/api/web_app_service_api.py +0 -0
  89. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/api/webhook_encryption_service_api.py +0 -0
  90. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/api/webhook_listener_service_api.py +0 -0
  91. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/api/webhook_url_service_api.py +0 -0
  92. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/encryption_util.py +0 -0
  93. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/__init__.py +0 -0
  94. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/abstract_account_update.py +0 -0
  95. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/abstract_application_user_update.py +0 -0
  96. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/abstract_customer_active.py +0 -0
  97. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/abstract_customer_address_active.py +0 -0
  98. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/abstract_customer_comment_active.py +0 -0
  99. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/abstract_human_user_update.py +0 -0
  100. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/abstract_payment_link_update.py +0 -0
  101. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/abstract_refund_comment_active.py +0 -0
  102. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/abstract_shopify_subscription_product_update.py +0 -0
  103. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/abstract_space_update.py +0 -0
  104. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/abstract_token_update.py +0 -0
  105. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/abstract_transaction_comment_active.py +0 -0
  106. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/abstract_transaction_invoice_comment_active.py +0 -0
  107. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/abstract_transaction_pending.py +0 -0
  108. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/abstract_webhook_listener_update.py +0 -0
  109. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/abstract_webhook_url_update.py +0 -0
  110. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/account.py +0 -0
  111. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/account_create.py +0 -0
  112. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/account_state.py +0 -0
  113. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/account_type.py +0 -0
  114. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/account_update.py +0 -0
  115. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/address.py +0 -0
  116. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/address_create.py +0 -0
  117. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/analytics_query.py +0 -0
  118. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/analytics_query_execution.py +0 -0
  119. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/analytics_query_execution_state.py +0 -0
  120. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/analytics_query_result_batch.py +0 -0
  121. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/analytics_schema_column.py +0 -0
  122. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/analytics_schema_table.py +0 -0
  123. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/application_user.py +0 -0
  124. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/application_user_create.py +0 -0
  125. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/application_user_create_with_mac_key.py +0 -0
  126. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/application_user_update.py +0 -0
  127. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/authenticated_card_data.py +0 -0
  128. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/authenticated_card_data_create.py +0 -0
  129. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/bank_account.py +0 -0
  130. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/bank_account_environment.py +0 -0
  131. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/bank_account_state.py +0 -0
  132. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/bank_account_type.py +0 -0
  133. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/bank_transaction.py +0 -0
  134. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/bank_transaction_flow_direction.py +0 -0
  135. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/bank_transaction_source.py +0 -0
  136. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/bank_transaction_state.py +0 -0
  137. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/bank_transaction_type.py +0 -0
  138. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/card_authentication_response.py +0 -0
  139. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/card_authentication_version.py +0 -0
  140. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/card_cryptogram.py +0 -0
  141. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/card_cryptogram_create.py +0 -0
  142. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/card_cryptogram_type.py +0 -0
  143. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/cardholder_authentication.py +0 -0
  144. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/cardholder_authentication_create.py +0 -0
  145. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/charge.py +0 -0
  146. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/charge_attempt.py +0 -0
  147. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/charge_attempt_environment.py +0 -0
  148. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/charge_attempt_state.py +0 -0
  149. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/charge_bank_transaction.py +0 -0
  150. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/charge_flow.py +0 -0
  151. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/charge_flow_level.py +0 -0
  152. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/charge_flow_level_configuration.py +0 -0
  153. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/charge_flow_level_configuration_type.py +0 -0
  154. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/charge_flow_level_payment_link.py +0 -0
  155. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/charge_flow_level_state.py +0 -0
  156. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/charge_state.py +0 -0
  157. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/charge_type.py +0 -0
  158. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/client_error.py +0 -0
  159. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/client_error_type.py +0 -0
  160. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/completion_line_item.py +0 -0
  161. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/completion_line_item_create.py +0 -0
  162. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/condition.py +0 -0
  163. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/condition_type.py +0 -0
  164. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/connector_invocation.py +0 -0
  165. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/connector_invocation_stage.py +0 -0
  166. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/creation_entity_state.py +0 -0
  167. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/criteria_operator.py +0 -0
  168. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/currency_bank_account.py +0 -0
  169. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/customer.py +0 -0
  170. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/customer_active.py +0 -0
  171. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/customer_address.py +0 -0
  172. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/customer_address_active.py +0 -0
  173. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/customer_address_create.py +0 -0
  174. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/customer_address_type.py +0 -0
  175. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/customer_comment.py +0 -0
  176. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/customer_comment_active.py +0 -0
  177. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/customer_comment_create.py +0 -0
  178. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/customer_create.py +0 -0
  179. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/customer_postal_address.py +0 -0
  180. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/customer_postal_address_create.py +0 -0
  181. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/customers_presence.py +0 -0
  182. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/data_collection_type.py +0 -0
  183. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/delivery_indication.py +0 -0
  184. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/delivery_indication_decision_reason.py +0 -0
  185. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/delivery_indication_state.py +0 -0
  186. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/document_template.py +0 -0
  187. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/document_template_type.py +0 -0
  188. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/document_template_type_group.py +0 -0
  189. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/entity_export_request.py +0 -0
  190. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/entity_query.py +0 -0
  191. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/entity_query_filter.py +0 -0
  192. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/entity_query_filter_type.py +0 -0
  193. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/entity_query_order_by.py +0 -0
  194. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/entity_query_order_by_type.py +0 -0
  195. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/environment.py +0 -0
  196. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/external_transfer_bank_transaction.py +0 -0
  197. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/failure_category.py +0 -0
  198. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/failure_reason.py +0 -0
  199. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/feature.py +0 -0
  200. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/feature_category.py +0 -0
  201. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/gender.py +0 -0
  202. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/human_user.py +0 -0
  203. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/human_user_create.py +0 -0
  204. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/human_user_update.py +0 -0
  205. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/internal_transfer_bank_transaction.py +0 -0
  206. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/invoice_reconciliation_record.py +0 -0
  207. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/invoice_reconciliation_record_invoice_link.py +0 -0
  208. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/invoice_reconciliation_record_rejection_status.py +0 -0
  209. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/invoice_reconciliation_record_state.py +0 -0
  210. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/invoice_reconciliation_record_type.py +0 -0
  211. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/invoice_reimbursement.py +0 -0
  212. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/invoice_reimbursement_state.py +0 -0
  213. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/invoice_reimbursement_with_refund_reference.py +0 -0
  214. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/label.py +0 -0
  215. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/label_descriptor.py +0 -0
  216. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/label_descriptor_category.py +0 -0
  217. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/label_descriptor_group.py +0 -0
  218. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/label_descriptor_type.py +0 -0
  219. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/legal_organization_form.py +0 -0
  220. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/line_item.py +0 -0
  221. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/line_item_attribute.py +0 -0
  222. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/line_item_attribute_create.py +0 -0
  223. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/line_item_create.py +0 -0
  224. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/line_item_reduction.py +0 -0
  225. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/line_item_reduction_create.py +0 -0
  226. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/line_item_type.py +0 -0
  227. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/localized_string.py +0 -0
  228. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/manual_task.py +0 -0
  229. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/manual_task_action.py +0 -0
  230. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/manual_task_action_style.py +0 -0
  231. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/manual_task_state.py +0 -0
  232. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/manual_task_type.py +0 -0
  233. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/one_click_payment_mode.py +0 -0
  234. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/payment_adjustment.py +0 -0
  235. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/payment_adjustment_type.py +0 -0
  236. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/payment_connector.py +0 -0
  237. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/payment_connector_configuration.py +0 -0
  238. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/payment_connector_feature.py +0 -0
  239. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/payment_contract.py +0 -0
  240. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/payment_contract_state.py +0 -0
  241. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/payment_contract_type.py +0 -0
  242. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/payment_information_hash.py +0 -0
  243. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/payment_information_hash_type.py +0 -0
  244. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/payment_initiation_advice_file.py +0 -0
  245. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/payment_initiation_advice_file_state.py +0 -0
  246. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/payment_link.py +0 -0
  247. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/payment_link_active.py +0 -0
  248. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/payment_link_address_handling_mode.py +0 -0
  249. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/payment_link_create.py +0 -0
  250. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/payment_link_protection_mode.py +0 -0
  251. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/payment_link_update.py +0 -0
  252. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/payment_method.py +0 -0
  253. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/payment_method_brand.py +0 -0
  254. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/payment_method_configuration.py +0 -0
  255. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/payment_primary_risk_taker.py +0 -0
  256. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/payment_processor.py +0 -0
  257. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/payment_processor_configuration.py +0 -0
  258. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/payment_terminal.py +0 -0
  259. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/payment_terminal_address.py +0 -0
  260. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/payment_terminal_configuration.py +0 -0
  261. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/payment_terminal_configuration_state.py +0 -0
  262. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/payment_terminal_configuration_version.py +0 -0
  263. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/payment_terminal_configuration_version_state.py +0 -0
  264. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/payment_terminal_dcc_transaction_sum.py +0 -0
  265. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/payment_terminal_location.py +0 -0
  266. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/payment_terminal_location_state.py +0 -0
  267. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/payment_terminal_location_version.py +0 -0
  268. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/payment_terminal_location_version_state.py +0 -0
  269. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/payment_terminal_receipt_type.py +0 -0
  270. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/payment_terminal_state.py +0 -0
  271. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/payment_terminal_transaction_sum.py +0 -0
  272. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/payment_terminal_transaction_summary.py +0 -0
  273. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/payment_terminal_transaction_summary_fetch_request.py +0 -0
  274. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/payment_terminal_type.py +0 -0
  275. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/permission.py +0 -0
  276. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/recurring_indicator.py +0 -0
  277. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/refund.py +0 -0
  278. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/refund_bank_transaction.py +0 -0
  279. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/refund_comment.py +0 -0
  280. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/refund_comment_active.py +0 -0
  281. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/refund_comment_create.py +0 -0
  282. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/refund_create.py +0 -0
  283. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/refund_recovery_bank_transaction.py +0 -0
  284. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/refund_state.py +0 -0
  285. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/refund_type.py +0 -0
  286. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/rendered_document.py +0 -0
  287. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/rendered_terminal_receipt.py +0 -0
  288. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/rendered_terminal_transaction_summary.py +0 -0
  289. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/resource_path.py +0 -0
  290. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/resource_state.py +0 -0
  291. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/rest_address_format.py +0 -0
  292. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/rest_address_format_field.py +0 -0
  293. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/rest_country.py +0 -0
  294. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/rest_country_state.py +0 -0
  295. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/rest_currency.py +0 -0
  296. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/rest_language.py +0 -0
  297. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/role.py +0 -0
  298. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/role_state.py +0 -0
  299. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/sales_channel.py +0 -0
  300. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/scope.py +0 -0
  301. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/server_error.py +0 -0
  302. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/shopify_additional_line_item_data.py +0 -0
  303. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/shopify_integration.py +0 -0
  304. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/shopify_integration_payment_app_version.py +0 -0
  305. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/shopify_integration_subscription_app_version.py +0 -0
  306. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/shopify_recurring_order.py +0 -0
  307. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/shopify_recurring_order_state.py +0 -0
  308. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/shopify_recurring_order_update_request.py +0 -0
  309. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/shopify_subscriber.py +0 -0
  310. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/shopify_subscriber_active.py +0 -0
  311. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/shopify_subscriber_creation.py +0 -0
  312. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/shopify_subscriber_state.py +0 -0
  313. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/shopify_subscription.py +0 -0
  314. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/shopify_subscription_address.py +0 -0
  315. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/shopify_subscription_address_create.py +0 -0
  316. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/shopify_subscription_billing_interval_unit.py +0 -0
  317. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/shopify_subscription_creation_request.py +0 -0
  318. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/shopify_subscription_model_billing_configuration.py +0 -0
  319. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/shopify_subscription_model_item.py +0 -0
  320. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/shopify_subscription_model_tax_line.py +0 -0
  321. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/shopify_subscription_product.py +0 -0
  322. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/shopify_subscription_product_create.py +0 -0
  323. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/shopify_subscription_product_pricing_option.py +0 -0
  324. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/shopify_subscription_product_state.py +0 -0
  325. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/shopify_subscription_product_update.py +0 -0
  326. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/shopify_subscription_state.py +0 -0
  327. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/shopify_subscription_suspension.py +0 -0
  328. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/shopify_subscription_suspension_create.py +0 -0
  329. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/shopify_subscription_suspension_initiator.py +0 -0
  330. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/shopify_subscription_suspension_state.py +0 -0
  331. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/shopify_subscription_suspension_type.py +0 -0
  332. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/shopify_subscription_update_addresses_request.py +0 -0
  333. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/shopify_subscription_update_request.py +0 -0
  334. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/shopify_subscription_version.py +0 -0
  335. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/shopify_subscription_version_item.py +0 -0
  336. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/shopify_subscription_version_item_price_strategy.py +0 -0
  337. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/shopify_subscription_version_state.py +0 -0
  338. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/shopify_subscription_weekday.py +0 -0
  339. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/shopify_tax_line.py +0 -0
  340. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/shopify_transaction.py +0 -0
  341. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/shopify_transaction_state.py +0 -0
  342. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/space.py +0 -0
  343. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/space_address.py +0 -0
  344. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/space_address_create.py +0 -0
  345. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/space_create.py +0 -0
  346. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/space_update.py +0 -0
  347. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/space_view.py +0 -0
  348. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/static_value.py +0 -0
  349. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/tax.py +0 -0
  350. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/tax_create.py +0 -0
  351. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/tenant_database.py +0 -0
  352. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/terminal_receipt_fetch_request.py +0 -0
  353. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/terminal_receipt_format.py +0 -0
  354. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/token.py +0 -0
  355. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/token_create.py +0 -0
  356. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/token_update.py +0 -0
  357. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/token_version.py +0 -0
  358. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/token_version_state.py +0 -0
  359. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/token_version_type.py +0 -0
  360. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/tokenization_mode.py +0 -0
  361. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/tokenized_card_data.py +0 -0
  362. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/tokenized_card_data_create.py +0 -0
  363. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/transaction.py +0 -0
  364. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/transaction_aware_entity.py +0 -0
  365. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/transaction_comment.py +0 -0
  366. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/transaction_comment_active.py +0 -0
  367. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/transaction_comment_create.py +0 -0
  368. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/transaction_completion.py +0 -0
  369. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/transaction_completion_behavior.py +0 -0
  370. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/transaction_completion_mode.py +0 -0
  371. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/transaction_completion_request.py +0 -0
  372. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/transaction_completion_state.py +0 -0
  373. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/transaction_create.py +0 -0
  374. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/transaction_environment_selection_strategy.py +0 -0
  375. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/transaction_group.py +0 -0
  376. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/transaction_group_state.py +0 -0
  377. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/transaction_invoice.py +0 -0
  378. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/transaction_invoice_comment.py +0 -0
  379. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/transaction_invoice_comment_active.py +0 -0
  380. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/transaction_invoice_comment_create.py +0 -0
  381. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/transaction_invoice_replacement.py +0 -0
  382. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/transaction_invoice_state.py +0 -0
  383. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/transaction_line_item_version.py +0 -0
  384. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/transaction_line_item_version_create.py +0 -0
  385. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/transaction_line_item_version_state.py +0 -0
  386. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/transaction_pending.py +0 -0
  387. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/transaction_state.py +0 -0
  388. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/transaction_user_interface_type.py +0 -0
  389. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/transaction_void.py +0 -0
  390. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/transaction_void_mode.py +0 -0
  391. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/transaction_void_state.py +0 -0
  392. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/two_factor_authentication_type.py +0 -0
  393. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/user.py +0 -0
  394. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/user_account_role.py +0 -0
  395. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/user_space_role.py +0 -0
  396. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/user_type.py +0 -0
  397. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/wallet_type.py +0 -0
  398. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/web_app_confirmation_request.py +0 -0
  399. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/web_app_confirmation_response.py +0 -0
  400. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/webhook_encryption_public_key.py +0 -0
  401. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/webhook_identity.py +0 -0
  402. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/webhook_listener.py +0 -0
  403. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/webhook_listener_create.py +0 -0
  404. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/webhook_listener_entity.py +0 -0
  405. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/webhook_listener_update.py +0 -0
  406. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/webhook_url.py +0 -0
  407. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/webhook_url_create.py +0 -0
  408. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/models/webhook_url_update.py +0 -0
  409. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout/rest.py +0 -0
  410. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout.egg-info/dependency_links.txt +0 -0
  411. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout.egg-info/requires.txt +0 -0
  412. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/postfinancecheckout.egg-info/top_level.txt +0 -0
  413. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/setup.cfg +0 -0
  414. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/test/test_refund.py +0 -0
  415. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/test/test_transaction_completion_service.py +0 -0
  416. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/test/test_transaction_iframe_service.py +0 -0
  417. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/test/test_transaction_lightbox_service.py +0 -0
  418. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/test/test_transaction_payment_page_service.py +0 -0
  419. {postfinancecheckout-5.0.0 → postfinancecheckout-5.1.0}/test/test_webhook_encryption_service.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: postfinancecheckout
3
- Version: 5.0.0
3
+ Version: 5.1.0
4
4
  Summary: SDK that allows you to access PostFinance Checkout
5
5
  Author: Wallee AG
6
6
  License: Apache-2.0
@@ -419,7 +419,7 @@ class ChargeFlowServiceApi:
419
419
  body_params = None
420
420
  # HTTP header `Accept`
421
421
  header_params['Accept'] = self.api_client.select_header_accept(
422
- ['text/plain;charset=utf-8', 'application/json'])
422
+ ['application/json', 'text/plain;charset=utf-8'])
423
423
 
424
424
  # Authentication setting
425
425
  auth_settings = []
@@ -395,7 +395,7 @@ class HumanUserServiceApi:
395
395
  body_params = params['request']
396
396
  # HTTP header `Accept`
397
397
  header_params['Accept'] = self.api_client.select_header_accept(
398
- ['text/csv', 'application/json;charset=utf-8'])
398
+ ['application/json;charset=utf-8', 'text/csv'])
399
399
 
400
400
  # HTTP header `Content-Type`
401
401
  header_params['Content-Type'] = self.api_client.select_header_content_type(
@@ -98,7 +98,7 @@ class TransactionIframeServiceApi:
98
98
  body_params = None
99
99
  # HTTP header `Accept`
100
100
  header_params['Accept'] = self.api_client.select_header_accept(
101
- ['text/plain;charset=utf-8', 'application/json'])
101
+ ['application/json', 'text/plain;charset=utf-8'])
102
102
 
103
103
  # Authentication setting
104
104
  auth_settings = []
@@ -98,7 +98,7 @@ class TransactionLightboxServiceApi:
98
98
  body_params = None
99
99
  # HTTP header `Accept`
100
100
  header_params['Accept'] = self.api_client.select_header_accept(
101
- ['text/plain;charset=utf-8', 'application/json'])
101
+ ['application/json', 'text/plain;charset=utf-8'])
102
102
 
103
103
  # Authentication setting
104
104
  auth_settings = []
@@ -90,7 +90,7 @@ class TransactionMobileSdkServiceApi:
90
90
  body_params = None
91
91
  # HTTP header `Accept`
92
92
  header_params['Accept'] = self.api_client.select_header_accept(
93
- ['text/plain;charset=utf-8', 'application/json'])
93
+ ['application/json', 'text/plain;charset=utf-8'])
94
94
 
95
95
  # Authentication setting
96
96
  auth_settings = []
@@ -98,7 +98,7 @@ class TransactionPaymentPageServiceApi:
98
98
  body_params = None
99
99
  # HTTP header `Accept`
100
100
  header_params['Accept'] = self.api_client.select_header_accept(
101
- ['text/plain;charset=utf-8', 'application/json'])
101
+ ['application/json', 'text/plain;charset=utf-8'])
102
102
 
103
103
  # Authentication setting
104
104
  auth_settings = []
@@ -633,7 +633,7 @@ class TransactionServiceApi:
633
633
  body_params = params['request']
634
634
  # HTTP header `Accept`
635
635
  header_params['Accept'] = self.api_client.select_header_accept(
636
- ['text/csv', 'application/json;charset=utf-8'])
636
+ ['application/json;charset=utf-8', 'text/csv'])
637
637
 
638
638
  # HTTP header `Content-Type`
639
639
  header_params['Content-Type'] = self.api_client.select_header_content_type(
@@ -4,7 +4,7 @@
4
4
 
5
5
  Python SDK
6
6
 
7
- OpenAPI spec version: 5.0.0
7
+ OpenAPI spec version: 5.1.0
8
8
 
9
9
  """
10
10
 
@@ -68,7 +68,7 @@ class ApiClient:
68
68
  self.default_headers[header_name] = header_value
69
69
  self.cookie = cookie
70
70
  # Set default User-Agent.
71
- self.user_agent = 'postfinancecheckout/5.0.0/python'
71
+ self.user_agent = 'postfinancecheckout/5.1.0/python'
72
72
 
73
73
  def __del__(self):
74
74
  if self._pool is not None:
@@ -107,7 +107,7 @@ class ApiClient:
107
107
 
108
108
  # predefined default headers
109
109
  default_headers = {
110
- 'x-meta-sdk-version': '5.0.0',
110
+ 'x-meta-sdk-version': '5.1.0',
111
111
  'x-meta-sdk-language': 'python',
112
112
  'x-meta-sdk-provider': 'PostFinance Checkout',
113
113
  'x-meta-sdk-language-version': platform.python_version()
@@ -262,6 +262,6 @@ class Configuration:
262
262
  return "Python SDK Debug Report:\n"\
263
263
  "OS: {env}\n"\
264
264
  "Python Version: {pyversion}\n"\
265
- "Version of the API: 5.0.0\n"\
266
- "SDK Package Version: 5.0.0".\
265
+ "Version of the API: 5.1.0\n"\
266
+ "SDK Package Version: 5.1.0".\
267
267
  format(env=sys.platform, pyversion=sys.version)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: postfinancecheckout
3
- Version: 5.0.0
3
+ Version: 5.1.0
4
4
  Summary: SDK that allows you to access PostFinance Checkout
5
5
  Author: Wallee AG
6
6
  License: Apache-2.0
@@ -406,9 +406,11 @@ postfinancecheckout/models/webhook_listener_update.py
406
406
  postfinancecheckout/models/webhook_url.py
407
407
  postfinancecheckout/models/webhook_url_create.py
408
408
  postfinancecheckout/models/webhook_url_update.py
409
+ test/test_charge_attempt_service.py
409
410
  test/test_refund.py
410
411
  test/test_transaction_completion_service.py
411
412
  test/test_transaction_iframe_service.py
413
+ test/test_transaction_invoice_service.py
412
414
  test/test_transaction_lightbox_service.py
413
415
  test/test_transaction_payment_page_service.py
414
416
  test/test_transaction_service.py
@@ -6,7 +6,7 @@ with open("README.md", "r", encoding="utf8") as fh:
6
6
  long_description = fh.read()
7
7
 
8
8
  NAME = "postfinancecheckout"
9
- VERSION = "5.0.0"
9
+ VERSION = "5.1.0"
10
10
 
11
11
  REQUIRES = [
12
12
  "certifi >= 14.05.14",
@@ -0,0 +1,81 @@
1
+ import unittest
2
+
3
+ from constants import (
4
+ API_CONFIG,
5
+ SPACE_ID,
6
+ get_transaction_create,
7
+ FAKE_CARD_DATA,
8
+ TEST_CARD_PAYMENT_METHOD_CONFIGURATION_ID,
9
+ TEST_CUSTOMER_ID,
10
+ )
11
+
12
+ from postfinancecheckout.api import (
13
+ TransactionServiceApi,
14
+ CardProcessingServiceApi,
15
+ ChargeAttemptServiceApi
16
+ )
17
+ from postfinancecheckout.models import (
18
+ TransactionState,
19
+ EntityQuery,
20
+ EntityQueryFilter,
21
+ EntityQueryFilterType,
22
+ CriteriaOperator,
23
+ TokenizationMode,
24
+ TransactionCompletionBehavior,
25
+ CustomersPresence,
26
+ )
27
+
28
+ class ChargeAttemptServiceTest(unittest.TestCase):
29
+ """ChargeAttemptServiceApi tests"""
30
+
31
+ def setUp(self):
32
+ self.transaction_service = TransactionServiceApi(API_CONFIG)
33
+ self.card_processing_service = CardProcessingServiceApi(API_CONFIG)
34
+ self.charge_attempt_service = ChargeAttemptServiceApi(API_CONFIG)
35
+
36
+ def tearDown(self):
37
+ pass
38
+
39
+ def test_search(self):
40
+ """search() should find charge attempts by given criteria"""
41
+
42
+ transaction_create = get_transaction_create()
43
+ transaction_create.tokenization_mode = TokenizationMode.FORCE_CREATION
44
+ transaction_create.customers_presence = CustomersPresence.NOT_PRESENT
45
+ transaction_create.completion_behavior = TransactionCompletionBehavior.COMPLETE_DEFERRED
46
+
47
+ transaction = self.transaction_service.create(
48
+ space_id=SPACE_ID, transaction=transaction_create)
49
+ transaction_processed = self.card_processing_service.process(
50
+ space_id=SPACE_ID,
51
+ transaction_id=transaction.id,
52
+ payment_method_configuration_id=TEST_CARD_PAYMENT_METHOD_CONFIGURATION_ID,
53
+ card_data=FAKE_CARD_DATA,
54
+ )
55
+
56
+ self.assertEqual(
57
+ TransactionState.AUTHORIZED,
58
+ transaction_processed.state,
59
+ "State must be AUTHORIZED",
60
+ )
61
+
62
+ entity_query_filter = EntityQueryFilter(
63
+ field_name="charge.transaction.id",
64
+ value=transaction.id,
65
+ type=EntityQueryFilterType.LEAF,
66
+ operator=CriteriaOperator.EQUALS,
67
+ )
68
+ entity_query = EntityQuery(filter=entity_query_filter)
69
+
70
+ attempts_found = self.charge_attempt_service.search(
71
+ space_id=SPACE_ID, query=entity_query)
72
+
73
+ self.assertTrue(len(attempts_found) > 0)
74
+ for attempt in attempts_found:
75
+ self.assertEqual(transaction.id, attempt.linked_transaction)
76
+
77
+ # TODO write more API tests
78
+
79
+
80
+ if __name__ == "__main__":
81
+ unittest.main(failfast=True)
@@ -0,0 +1,132 @@
1
+ import unittest
2
+
3
+ from constants import (
4
+ API_CONFIG,
5
+ SPACE_ID,
6
+ get_transaction_create,
7
+ FAKE_CARD_DATA,
8
+ TEST_CARD_PAYMENT_METHOD_CONFIGURATION_ID,
9
+ TEST_ISR_INVOICE_PAYMENT_METHOD_CONFIGURATION_ID,
10
+ )
11
+
12
+ from postfinancecheckout.api import (
13
+ TransactionServiceApi,
14
+ CardProcessingServiceApi,
15
+ TransactionInvoiceServiceApi,
16
+ TransactionCompletionServiceApi,
17
+ )
18
+ from postfinancecheckout.models import (
19
+ TransactionState,
20
+ TransactionInvoiceState,
21
+ EntityQuery,
22
+ EntityQueryFilter,
23
+ EntityQueryFilterType,
24
+ CriteriaOperator,
25
+ TokenizationMode,
26
+ TransactionCompletionBehavior,
27
+ CustomersPresence,
28
+ )
29
+
30
+
31
+ class TransactionInvoiceServiceTest(unittest.TestCase):
32
+ """TransactionInvoiceServiceApi tests"""
33
+
34
+ def setUp(self):
35
+ self.transaction_service = TransactionServiceApi(API_CONFIG)
36
+ self.transaction_invoice_service = TransactionInvoiceServiceApi(API_CONFIG)
37
+ self.transaction_completion_service = TransactionCompletionServiceApi(
38
+ API_CONFIG)
39
+ self.card_processing_service = CardProcessingServiceApi(API_CONFIG)
40
+
41
+ def tearDown(self):
42
+ pass
43
+
44
+ def test_search(self):
45
+ """search() should find transaction invoice by a given criteria"""
46
+
47
+ transaction_create = get_transaction_create()
48
+ transaction_create.tokenization_mode = TokenizationMode.FORCE_CREATION
49
+ transaction_create.customers_presence = CustomersPresence.NOT_PRESENT
50
+ transaction_create.completion_behavior = TransactionCompletionBehavior.COMPLETE_IMMEDIATELY
51
+ transaction = self.transaction_service.create(space_id=SPACE_ID, transaction=transaction_create)
52
+
53
+ transaction_processed = self.card_processing_service.process(
54
+ space_id=SPACE_ID,
55
+ transaction_id=transaction.id,
56
+ payment_method_configuration_id=TEST_CARD_PAYMENT_METHOD_CONFIGURATION_ID,
57
+ card_data=FAKE_CARD_DATA,
58
+ )
59
+
60
+ self.assertEqual(
61
+ TransactionState.FULFILL,
62
+ transaction_processed.state,
63
+ "State must be FULFILL",
64
+ )
65
+
66
+ entity_query_filter = EntityQueryFilter(
67
+ # linkedTransaction does not work here as criteria
68
+ field_name="completion.lineItemVersion.transaction.id",
69
+ value=transaction_processed.id,
70
+ type=EntityQueryFilterType.LEAF,
71
+ operator=CriteriaOperator.EQUALS,
72
+ )
73
+ entity_query = EntityQuery(filter=entity_query_filter)
74
+
75
+ invoices_found = self.transaction_invoice_service.search(
76
+ space_id=SPACE_ID, query=entity_query)
77
+
78
+ self.assertTrue(len(invoices_found) > 0,
79
+ "Should find invoice", )
80
+
81
+ for invoice in invoices_found:
82
+ self.assertEqual(TransactionInvoiceState.NOT_APPLICABLE, invoice.state,
83
+ "Invoice paid by card is expected to be of NOT_APPLICABLE state")
84
+
85
+
86
+
87
+ def test_derecognize_transaction_invoice(self):
88
+ """mark_as_derecognized() should derecognize open invoice"""
89
+
90
+ transaction_create = get_transaction_create()
91
+ transaction_create.tokenization_mode = TokenizationMode.FORCE_CREATION
92
+ transaction_create.customers_presence = CustomersPresence.NOT_PRESENT
93
+ transaction_create.completion_behavior = TransactionCompletionBehavior.COMPLETE_DEFERRED
94
+
95
+ # we want invoice in OPEN state (OPEN invoices can be derecognized), so we force payment by invoice
96
+ transaction_create.allowed_payment_method_configurations = [TEST_ISR_INVOICE_PAYMENT_METHOD_CONFIGURATION_ID]
97
+ transaction = self.transaction_service.create(space_id=SPACE_ID, transaction=transaction_create)
98
+
99
+ transaction_processed = self.transaction_service.process_without_user_interaction(
100
+ space_id=SPACE_ID, id=transaction.id)
101
+
102
+ transaction_completion = self.transaction_completion_service.complete_online(
103
+ space_id=SPACE_ID, id=transaction_processed.id)
104
+
105
+ entity_query_filter = EntityQueryFilter(
106
+ field_name="completion.lineItemVersion.transaction.id",
107
+ value=transaction_processed.id,
108
+ type=EntityQueryFilterType.LEAF,
109
+ operator=CriteriaOperator.EQUALS,
110
+ )
111
+ entity_query = EntityQuery(filter=entity_query_filter)
112
+
113
+ invoices_found = self.transaction_invoice_service.search(
114
+ space_id=SPACE_ID, query=entity_query)
115
+
116
+ self.assertTrue(len(invoices_found) > 0,
117
+ "Should find invoice", )
118
+
119
+ found_invoice = invoices_found[0]
120
+
121
+ self.assertEqual(TransactionInvoiceState.OPEN, found_invoice.state,
122
+ "Transaction paid by invoice should create invoice in OPEN state" )
123
+
124
+ derecognized_invoice = self.transaction_invoice_service.mark_as_derecognized(
125
+ space_id=SPACE_ID, id=found_invoice.id);
126
+
127
+ self.assertEqual(TransactionInvoiceState.DERECOGNIZED, derecognized_invoice.state,
128
+ "Expected DERECOGNIZED invoice state")
129
+
130
+
131
+ if __name__ == "__main__":
132
+ unittest.main(failfast=True)
@@ -271,7 +271,7 @@ class TransactionServiceTest(unittest.TestCase):
271
271
  self.assertEqual(0, len(tokens), "Should be no tokens yet")
272
272
 
273
273
  def test_fetch_payment_methods_with_credentials(self):
274
- """fetch_one_click_tokens_with_credentials() should return one-click payment tokens (if any) for provided transaction"""
274
+ """fetch_payment_methods_with_credentials() should return payment methods (if any) for credentials"""
275
275
 
276
276
  transaction = self.transaction_service.create(
277
277
  space_id=SPACE_ID, transaction=get_transaction_create())