Source code for ingenico.connect.sdk.domain.services.test_connection

# -*- coding: utf-8 -*-
#
# This class was auto-generated from the API references found at
# https://epayments-api.developer-ingenico.com/
#
from ingenico.connect.sdk.data_object import DataObject


[docs]class TestConnection(DataObject): __result = None @property def result(self): """ | OK result on the connection to the payment engine. Type: str """ return self.__result @result.setter def result(self, value): self.__result = value
[docs] def to_dictionary(self): dictionary = super(TestConnection, self).to_dictionary() if self.result is not None: dictionary['result'] = self.result return dictionary
[docs] def from_dictionary(self, dictionary): super(TestConnection, self).from_dictionary(dictionary) if 'result' in dictionary: self.result = dictionary['result'] return self