Skip to content

Commit 6ae8de6

Browse files
feat: add InvoiceDevice threeds sdk field
1 parent 80eccc5 commit 6ae8de6

2 files changed

Lines changed: 19 additions & 2 deletions

File tree

processout/invoicedevice.py

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ def __init__(self, client, prefill=None):
1717
self._client = client
1818

1919
self._channel = None
20+
self._threeds_sdk = None
2021
self._platform = None
2122
self._ip_address = None
2223
self._id = None
@@ -36,6 +37,19 @@ def channel(self, val):
3637
self._channel = val
3738
return self
3839

40+
@property
41+
def threeds_sdk(self):
42+
"""Get threeds_sdk"""
43+
return self._threeds_sdk
44+
45+
@threeds_sdk.setter
46+
def threeds_sdk(self, val):
47+
"""Set threeds_sdk
48+
Keyword argument:
49+
val -- New threeds_sdk value"""
50+
self._threeds_sdk = val
51+
return self
52+
3953
@property
4054
def platform(self):
4155
"""Get platform"""
@@ -81,6 +95,8 @@ def fill_with_data(self, data):
8195
data -- The data from which to pull the new values"""
8296
if "channel" in data.keys():
8397
self.channel = data["channel"]
98+
if "threeds_sdk" in data.keys():
99+
self.threeds_sdk = data["threeds_sdk"]
84100
if "platform" in data.keys():
85101
self.platform = data["platform"]
86102
if "ip_address" in data.keys():
@@ -93,6 +109,7 @@ def fill_with_data(self, data):
93109
def to_json(self):
94110
return {
95111
"channel": self.channel,
112+
"threeds_sdk": self.threeds_sdk,
96113
"platform": self.platform,
97114
"ip_address": self.ip_address,
98115
"id": self.id,

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
setup(
44
name = 'processout',
55
packages = ['processout', 'processout.errors', 'processout.networking'],
6-
version = '10.0.0',
6+
version = '10.0.1',
77
description = 'ProcessOut API bindings.',
88
author = 'ProcessOut',
99
author_email = 'hi@processout.com',
1010
url = 'https://github.com/processout/processout-python',
11-
download_url = 'https://github.com/processout/processout-python/tarball/10.0.0',
11+
download_url = 'https://github.com/processout/processout-python/tarball/10.0.1',
1212
keywords = ['ProcessOut', 'api', 'bindings'],
1313
classifiers = [],
1414
)

0 commit comments

Comments
 (0)