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

# -*- 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 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