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

# -*- 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 FraugsterResults(DataObject): __fraud_investigation_points = None __fraud_score = None @property def fraud_investigation_points(self): """ | Result of the Fraugster check | Contains the investigation points used during the evaluation Type: str """ return self.__fraud_investigation_points @fraud_investigation_points.setter def fraud_investigation_points(self, value): self.__fraud_investigation_points = value @property def fraud_score(self): """ | Result of the Fraugster check | Contains the overall Fraud score which is an integer between 0 and 99 Type: int """ return self.__fraud_score @fraud_score.setter def fraud_score(self, value): self.__fraud_score = value
[docs] def to_dictionary(self): dictionary = super(FraugsterResults, self).to_dictionary() if self.fraud_investigation_points is not None: dictionary['fraudInvestigationPoints'] = self.fraud_investigation_points if self.fraud_score is not None: dictionary['fraudScore'] = self.fraud_score return dictionary
[docs] def from_dictionary(self, dictionary): super(FraugsterResults, self).from_dictionary(dictionary) if 'fraudInvestigationPoints' in dictionary: self.fraud_investigation_points = dictionary['fraudInvestigationPoints'] if 'fraudScore' in dictionary: self.fraud_score = dictionary['fraudScore'] return self