Source code for worldline.connect.sdk.v1.domain.abstract_order_status

# -*- coding: utf-8 -*-
#
# This class was auto-generated from the API references found at
# https://apireference.connect.worldline-solutions.com/
#
from worldline.connect.sdk.domain.data_object import DataObject


[docs]class AbstractOrderStatus(DataObject): __id = None @property def id(self): """ | Every payment entity resource has an identifier or pointer associated with it. This id can be used to uniquely reach the resource. Type: str """ return self.__id @id.setter def id(self, value): self.__id = value
[docs] def to_dictionary(self): dictionary = super(AbstractOrderStatus, self).to_dictionary() if self.id is not None: dictionary['id'] = self.id return dictionary
[docs] def from_dictionary(self, dictionary): super(AbstractOrderStatus, self).from_dictionary(dictionary) if 'id' in dictionary: self.id = dictionary['id'] return self