Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions processout/invoicedevice.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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"""
Expand Down Expand Up @@ -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():
Expand All @@ -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,
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [],
)