Skip to content
This repository was archived by the owner on Mar 19, 2024. It is now read-only.

Commit f668491

Browse files
author
Jenkins
committed
Release 3.4.0.
1 parent 3a357b6 commit f668491

8 files changed

+27
-8
lines changed

conf.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,9 @@
6262
# built documents.
6363
#
6464
# The short X.Y version.
65-
version = u'3.3.0'
65+
version = u'3.4.0'
6666
# The full version, including alpha/beta/rc tags.
67-
release = u'3.3.0'
67+
release = u'3.4.0'
6868

6969
# The language for content autogenerated by Sphinx. Refer to documentation
7070
# for a list of supported languages.
@@ -138,7 +138,7 @@
138138
# The name for this set of Sphinx documents.
139139
# "<project> v<release> documentation" by default.
140140
#
141-
# html_title = u'Python SDK v3.3.0'
141+
# html_title = u'Python SDK v3.4.0'
142142

143143
# A shorter title for the navigation bar. Default is the same as html_title.
144144
#

ingenico/connect/sdk/domain/mandates/definitions/create_mandate_base.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def customer_reference(self, value):
6161
@property
6262
def language(self):
6363
"""
64-
| The language of the customer.
64+
| The language code of the customer, one of de, en, es, fr, it, nl, si, sk, sv.
6565
6666
Type: str
6767
"""

ingenico/connect/sdk/domain/payment/definitions/card_payment_method_specific_output.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def three_d_secure_results(self, value):
105105
@property
106106
def token(self):
107107
"""
108-
| If a token was used for or created during the payment, then the ID of that token. This property is only populated for payments on the Ogone payment platform.
108+
| If a token was used for or created during the payment, then the ID of that token.
109109
110110
Type: str
111111
"""

ingenico/connect/sdk/domain/payment/definitions/redirect_payment_method_specific_output.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def payment_product840_specific_output(self, value):
8888
@property
8989
def token(self):
9090
"""
91-
| ID of the token. This property is populated for the Ogone payment platform when the payment was done with a token or when the payment was tokenized.
91+
| ID of the token. This property is populated when the payment was done with a token or when the payment was tokenized.
9292
9393
Type: str
9494
"""

ingenico/connect/sdk/domain/payment/definitions/redirection_data.py

+1
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ def variant(self):
3838
* MethodURL page - Certain Issuers will use a specific flow in case of 3-D Secure version 2 to directly collect information from the customer browser. This page contains a spinner indicating that this process is going on in.
3939
4040
| By specifying a specific variant you can force the use of another variant than the default. This allows you to test out the effect of certain changes to your MyCheckout payment pages in a controlled manner. Please note that you need to specify the ID instead of the name of the variant.
41+
| Note: In case you have defined a Dynamic 3D Secure rule that takes the variant into account this will only work if you explicitly specify the ID using this property.
4142
4243
Type: str
4344
"""

ingenico/connect/sdk/domain/payment/definitions/sepa_direct_debit_payment_method_specific_output.py

+18
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ class SepaDirectDebitPaymentMethodSpecificOutput(AbstractPaymentMethodSpecificOu
1212

1313
__fraud_results = None
1414
__payment_product771_specific_output = None
15+
__token = None
1516

1617
@property
1718
def fraud_results(self):
@@ -39,12 +40,27 @@ def payment_product771_specific_output(self):
3940
def payment_product771_specific_output(self, value):
4041
self.__payment_product771_specific_output = value
4142

43+
@property
44+
def token(self):
45+
"""
46+
| ID of the token. This property is populated for the GlobalCollect payment platform when the payment was done with a token or when the payment was tokenized.
47+
48+
Type: str
49+
"""
50+
return self.__token
51+
52+
@token.setter
53+
def token(self, value):
54+
self.__token = value
55+
4256
def to_dictionary(self):
4357
dictionary = super(SepaDirectDebitPaymentMethodSpecificOutput, self).to_dictionary()
4458
if self.fraud_results is not None:
4559
dictionary['fraudResults'] = self.fraud_results.to_dictionary()
4660
if self.payment_product771_specific_output is not None:
4761
dictionary['paymentProduct771SpecificOutput'] = self.payment_product771_specific_output.to_dictionary()
62+
if self.token is not None:
63+
dictionary['token'] = self.token
4864
return dictionary
4965

5066
def from_dictionary(self, dictionary):
@@ -59,4 +75,6 @@ def from_dictionary(self, dictionary):
5975
raise TypeError('value \'{}\' is not a dictionary'.format(dictionary['paymentProduct771SpecificOutput']))
6076
value = PaymentProduct771SpecificOutput()
6177
self.payment_product771_specific_output = value.from_dictionary(dictionary['paymentProduct771SpecificOutput'])
78+
if 'token' in dictionary:
79+
self.token = dictionary['token']
6280
return self

ingenico/connect/sdk/meta_data_provider.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class MetaDataProvider:
2121
"""
2222
Provides meta info about the server.
2323
"""
24-
__SDK_VERSION = "3.3.0"
24+
__SDK_VERSION = "3.4.0"
2525
__SERVER_META_INFO_HEADER = "X-GCS-ServerMetaInfo"
2626
__prohibited_headers = [__SERVER_META_INFO_HEADER, "X-GCS-Idempotence-Key",
2727
"Date", "Content-Type", "Authorization"]

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def test_collector():
2121

2222
setup(
2323
name="connect-sdk-python2",
24-
version="3.3.0",
24+
version="3.4.0",
2525
author="Ingenico ePayments",
2626
author_email="github@epay.ingenico.com",
2727
description="SDK to communicate with the Ingenico ePayments platform using the Ingenico Connect Server API",

0 commit comments

Comments
 (0)