mirror of
https://github.com/suitenumerique/django-lasuite
synced 2026-04-25 17:15:14 +02:00
Marteking backends will have to implement an abstract base backend in order to be able to not be dependant from only one implementation
14 lines
289 B
Python
14 lines
289 B
Python
"""Marketing backends module."""
|
|
|
|
from dataclasses import dataclass
|
|
|
|
|
|
@dataclass
|
|
class ContactData:
|
|
"""Contact data for marketing service integration."""
|
|
|
|
email: str
|
|
attributes: dict[str, str] | None = None
|
|
list_ids: list[int] | None = None
|
|
update_enabled: bool = True
|