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

# -*- 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 MerchantRiskAssessment(DataObject): __website_url = None @property def website_url(self): """ | The website from which the purchase was made Type: str """ return self.__website_url @website_url.setter def website_url(self, value): self.__website_url = value
[docs] def to_dictionary(self): dictionary = super(MerchantRiskAssessment, self).to_dictionary() if self.website_url is not None: dictionary['websiteUrl'] = self.website_url return dictionary
[docs] def from_dictionary(self, dictionary): super(MerchantRiskAssessment, self).from_dictionary(dictionary) if 'websiteUrl' in dictionary: self.website_url = dictionary['websiteUrl'] return self