@dynamic_template_data.setter<EOL><INDENT>def dynamic_template_data(self, value):<DEDENT>
if not isinstance(value, DynamicTemplateData):<EOL><INDENT>value = DynamicTemplateData(value)<EOL><DEDENT>try:<EOL><INDENT>personalization = self._personalizations[value.personalization]<EOL>has_internal_personalization = True<EOL><DEDENT>except IndexError:<EOL><INDENT>personalization = Personalization()<EOL>has_internal_personalization = False<EOL><DEDENT>personalization.dynamic_template_data = value.dynamic_template_data<EOL>if not has_internal_personalization:<EOL><INDENT>self.add_personalization(<EOL>personalization, index=value.personalization)<EOL><DEDENT>
Data for a transactional template

        :param value: Data for a transactional template
        :type value: DynamicTemplateData, a JSON-serializeable structure