Source code for shuup.front.apps.customer_information.notify_events

# -*- coding: utf-8 -*-
# This file is part of Shuup.
#
# Copyright (c) 2012-2021, Shuup Commerce Inc. All rights reserved.
#
# This source code is licensed under the OSL-3.0 license found in the
# LICENSE file in the root directory of this source tree.
from django.utils.translation import ugettext_lazy as _

from shuup.notify.base import Event, Variable
from shuup.notify.typology import Email, Model


[docs]class CompanyAccountCreated(Event): identifier = "company_account_created" contact = Variable("CompanyContact", type=Model("shuup.CompanyContact")) customer_email = Variable(_("Customer Email"), type=Email)