Source code for worldline.connect.sdk.v1.domain.contact_details_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 ContactDetailsRiskAssessment(DataObject):
__email_address = None
@property
def email_address(self):
"""
| Email address of the customer
Type: str
"""
return self.__email_address
@email_address.setter
def email_address(self, value):
self.__email_address = value
[docs] def to_dictionary(self):
dictionary = super(ContactDetailsRiskAssessment, self).to_dictionary()
if self.email_address is not None:
dictionary['emailAddress'] = self.email_address
return dictionary
[docs] def from_dictionary(self, dictionary):
super(ContactDetailsRiskAssessment, self).from_dictionary(dictionary)
if 'emailAddress' in dictionary:
self.email_address = dictionary['emailAddress']
return self