Source code for worldline.connect.sdk.domain.data_object
[docs]
class DataObject(object):
[docs]
def to_dictionary(self) -> dict:
return {}
[docs]
def from_dictionary(self, dictionary: dict) -> 'DataObject':
if not isinstance(dictionary, dict):
raise TypeError('value \'{}\' is not a dictionary'.format(dictionary))
return self