Skip to content

Commit 8df8d13

Browse files
Release 5.1.0
1 parent ef2a8d3 commit 8df8d13

14 files changed

Lines changed: 247 additions & 16 deletions

postfinancecheckout/api/charge_flow_service_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ def fetch_charge_flow_payment_page_url_with_http_info(self, space_id, id, **kwar
419419
body_params = None
420420
# HTTP header `Accept`
421421
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'])
423423

424424
# Authentication setting
425425
auth_settings = []

postfinancecheckout/api/human_user_service_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ def export_with_http_info(self, request, **kwargs):
395395
body_params = params['request']
396396
# HTTP header `Accept`
397397
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'])
399399

400400
# HTTP header `Content-Type`
401401
header_params['Content-Type'] = self.api_client.select_header_content_type(

postfinancecheckout/api/transaction_iframe_service_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ def javascript_url_with_http_info(self, space_id, id, **kwargs):
9898
body_params = None
9999
# HTTP header `Accept`
100100
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'])
102102

103103
# Authentication setting
104104
auth_settings = []

postfinancecheckout/api/transaction_lightbox_service_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ def javascript_url_with_http_info(self, space_id, id, **kwargs):
9898
body_params = None
9999
# HTTP header `Accept`
100100
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'])
102102

103103
# Authentication setting
104104
auth_settings = []

postfinancecheckout/api/transaction_mobile_sdk_service_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def payment_form_url_with_http_info(self, credentials, **kwargs):
9090
body_params = None
9191
# HTTP header `Accept`
9292
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'])
9494

9595
# Authentication setting
9696
auth_settings = []

postfinancecheckout/api/transaction_payment_page_service_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ def payment_page_url_with_http_info(self, space_id, id, **kwargs):
9898
body_params = None
9999
# HTTP header `Accept`
100100
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'])
102102

103103
# Authentication setting
104104
auth_settings = []

postfinancecheckout/api/transaction_service_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -633,7 +633,7 @@ def export_with_http_info(self, space_id, request, **kwargs):
633633
body_params = params['request']
634634
# HTTP header `Accept`
635635
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'])
637637

638638
# HTTP header `Content-Type`
639639
header_params['Content-Type'] = self.api_client.select_header_content_type(

postfinancecheckout/api_client.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
55
Python SDK
66
7-
OpenAPI spec version: 5.0.0
7+
OpenAPI spec version: 5.1.0
88
99
"""
1010

@@ -68,7 +68,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
6868
self.default_headers[header_name] = header_value
6969
self.cookie = cookie
7070
# Set default User-Agent.
71-
self.user_agent = 'postfinancecheckout/5.0.0/python'
71+
self.user_agent = 'postfinancecheckout/5.1.0/python'
7272

7373
def __del__(self):
7474
if self._pool is not None:
@@ -107,7 +107,7 @@ def __call_api(
107107

108108
# predefined default headers
109109
default_headers = {
110-
'x-meta-sdk-version': '5.0.0',
110+
'x-meta-sdk-version': '5.1.0',
111111
'x-meta-sdk-language': 'python',
112112
'x-meta-sdk-provider': 'PostFinance Checkout',
113113
'x-meta-sdk-language-version': platform.python_version()

postfinancecheckout/configuration.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,6 @@ def to_debug_report(self):
262262
return "Python SDK Debug Report:\n"\
263263
"OS: {env}\n"\
264264
"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".\
267267
format(env=sys.platform, pyversion=sys.version)

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
long_description = fh.read()
77

88
NAME = "postfinancecheckout"
9-
VERSION = "5.0.0"
9+
VERSION = "5.1.0"
1010

1111
REQUIRES = [
1212
"certifi >= 14.05.14",

0 commit comments

Comments
 (0)