From 6ae8de652cf1809e426ff6492fd1e640c6c91dd3 Mon Sep 17 00:00:00 2001 From: ProcessOut Fountain Date: Mon, 24 Aug 2026 17:07:16 +0200 Subject: [PATCH] feat: add InvoiceDevice threeds sdk field --- processout/invoicedevice.py | 17 +++++++++++++++++ setup.py | 4 ++-- 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/processout/invoicedevice.py b/processout/invoicedevice.py index 970d2c8..f0018cc 100755 --- a/processout/invoicedevice.py +++ b/processout/invoicedevice.py @@ -17,6 +17,7 @@ def __init__(self, client, prefill=None): self._client = client self._channel = None + self._threeds_sdk = None self._platform = None self._ip_address = None self._id = None @@ -36,6 +37,19 @@ def channel(self, val): self._channel = val return self + @property + def threeds_sdk(self): + """Get threeds_sdk""" + return self._threeds_sdk + + @threeds_sdk.setter + def threeds_sdk(self, val): + """Set threeds_sdk + Keyword argument: + val -- New threeds_sdk value""" + self._threeds_sdk = val + return self + @property def platform(self): """Get platform""" @@ -81,6 +95,8 @@ def fill_with_data(self, data): data -- The data from which to pull the new values""" if "channel" in data.keys(): self.channel = data["channel"] + if "threeds_sdk" in data.keys(): + self.threeds_sdk = data["threeds_sdk"] if "platform" in data.keys(): self.platform = data["platform"] if "ip_address" in data.keys(): @@ -93,6 +109,7 @@ def fill_with_data(self, data): def to_json(self): return { "channel": self.channel, + "threeds_sdk": self.threeds_sdk, "platform": self.platform, "ip_address": self.ip_address, "id": self.id, diff --git a/setup.py b/setup.py index 0806b54..64bf1d7 100644 --- a/setup.py +++ b/setup.py @@ -3,12 +3,12 @@ setup( name = 'processout', packages = ['processout', 'processout.errors', 'processout.networking'], - version = '10.0.0', + version = '10.0.1', description = 'ProcessOut API bindings.', author = 'ProcessOut', author_email = 'hi@processout.com', url = 'https://github.com/processout/processout-python', - download_url = 'https://github.com/processout/processout-python/tarball/10.0.0', + download_url = 'https://github.com/processout/processout-python/tarball/10.0.1', keywords = ['ProcessOut', 'api', 'bindings'], classifiers = [], )