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

# -*- 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 GetPrivacyPolicyResponse(DataObject): """ | Output of the retrieval of the privacy policy """ __html_content = None @property def html_content(self): """ | HTML content to be displayed to the user Type: str """ return self.__html_content @html_content.setter def html_content(self, value): self.__html_content = value
[docs] def to_dictionary(self): dictionary = super(GetPrivacyPolicyResponse, self).to_dictionary() if self.html_content is not None: dictionary['htmlContent'] = self.html_content return dictionary
[docs] def from_dictionary(self, dictionary): super(GetPrivacyPolicyResponse, self).from_dictionary(dictionary) if 'htmlContent' in dictionary: self.html_content = dictionary['htmlContent'] return self