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