Source code for worldline.connect.sdk.v1.domain.personal_name
# -*- coding: utf-8 -*-
#
# This class was auto-generated from the API references found at
# https://apireference.connect.worldline-solutions.com/
#
from worldline.connect.sdk.v1.domain.personal_name_base import PersonalNameBase
[docs]class PersonalName(PersonalNameBase):
__title = None
@property
def title(self):
"""
| Title of customer
Type: str
"""
return self.__title
@title.setter
def title(self, value):
self.__title = value
[docs] def to_dictionary(self):
dictionary = super(PersonalName, self).to_dictionary()
if self.title is not None:
dictionary['title'] = self.title
return dictionary
[docs] def from_dictionary(self, dictionary):
super(PersonalName, self).from_dictionary(dictionary)
if 'title' in dictionary:
self.title = dictionary['title']
return self