shuup.notify.actions package
Submodules
shuup.notify.actions.debug module
- class shuup.notify.actions.debug.SetDebugFlag(data, validate=True)[source]
Bases:
Action
- identifier = 'set_debug_flag'
- execute(context)[source]
- Parameters:
context (shuup.notify.script.Context) – Script Context
- bindings = {'flag_name': <shuup.notify.base.Binding object>}
- name = 'Set Debug Flag'
- variables = {}
shuup.notify.actions.email module
- class shuup.notify.actions.email.SendEmail(*args, **kwargs)[source]
Bases:
Action
- EMAIL_CONTENT_TYPE_CHOICES = (('html', 'HTML'), ('plain', 'Plain text'))
- identifier = 'send_email'
- template_use = 2
- template_fields = {'body': <django.forms.fields.CharField object>, 'content_type': <django.forms.fields.ChoiceField object>, 'email_template': <django.forms.fields.ChoiceField object>, 'subject': <django.forms.fields.CharField object>}
- execute(context)[source]
- Parameters:
context (shuup.notify.script.Context) – Script Context.
- bindings = {'bcc': <shuup.notify.base.Binding object>, 'cc': <shuup.notify.base.Binding object>, 'fallback_language': <shuup.notify.base.Binding object>, 'from_email': <shuup.notify.base.Binding object>, 'language': <shuup.notify.base.Binding object>, 'recipient': <shuup.notify.base.Binding object>, 'reply_to_address': <shuup.notify.base.Binding object>, 'send_identifier': <shuup.notify.base.Binding object>}
- name = 'Send Email'
- variables = {}
shuup.notify.actions.notification module
- class shuup.notify.actions.notification.AddNotification(data, validate=True)[source]
Bases:
Action
- identifier = 'add_notification'
- bindings = {'message': <shuup.notify.base.TemplatedBinding object>, 'message_identifier': <shuup.notify.base.Binding object>, 'priority': <shuup.notify.base.Binding object>, 'recipient': <shuup.notify.base.Binding object>, 'recipient_type': <shuup.notify.base.Binding object>, 'url': <shuup.notify.base.Binding object>}
- name = 'Add Notification'
- variables = {}
shuup.notify.actions.order module
- class shuup.notify.actions.order.AddOrderLogEntry(data, validate=True)[source]
Bases:
Action
- identifier = 'add_order_log_entry'
- execute(context)[source]
- Parameters:
context (shuup.notify.script.Context) – Script Context
- bindings = {'message': <shuup.notify.base.Binding object>, 'message_identifier': <shuup.notify.base.Binding object>, 'order': <shuup.notify.base.Binding object>}
- name = 'Add Order Log Entry'
- variables = {}
Module contents
- class shuup.notify.actions.AddNotification(data, validate=True)[source]
Bases:
Action
- bindings = {'message': <shuup.notify.base.TemplatedBinding object>, 'message_identifier': <shuup.notify.base.Binding object>, 'priority': <shuup.notify.base.Binding object>, 'recipient': <shuup.notify.base.Binding object>, 'recipient_type': <shuup.notify.base.Binding object>, 'url': <shuup.notify.base.Binding object>}
- identifier = 'add_notification'
- name = 'Add Notification'
- variables = {}
- class shuup.notify.actions.AddOrderLogEntry(data, validate=True)[source]
Bases:
Action
- bindings = {'message': <shuup.notify.base.Binding object>, 'message_identifier': <shuup.notify.base.Binding object>, 'order': <shuup.notify.base.Binding object>}
- execute(context)[source]
- Parameters:
context (shuup.notify.script.Context) – Script Context
- identifier = 'add_order_log_entry'
- name = 'Add Order Log Entry'
- variables = {}
- class shuup.notify.actions.SendEmail(*args, **kwargs)[source]
Bases:
Action
- EMAIL_CONTENT_TYPE_CHOICES = (('html', 'HTML'), ('plain', 'Plain text'))
- bindings = {'bcc': <shuup.notify.base.Binding object>, 'cc': <shuup.notify.base.Binding object>, 'fallback_language': <shuup.notify.base.Binding object>, 'from_email': <shuup.notify.base.Binding object>, 'language': <shuup.notify.base.Binding object>, 'recipient': <shuup.notify.base.Binding object>, 'reply_to_address': <shuup.notify.base.Binding object>, 'send_identifier': <shuup.notify.base.Binding object>}
- execute(context)[source]
- Parameters:
context (shuup.notify.script.Context) – Script Context.
- identifier = 'send_email'
- name = 'Send Email'
- template_fields = {'body': <django.forms.fields.CharField object>, 'content_type': <django.forms.fields.ChoiceField object>, 'email_template': <django.forms.fields.ChoiceField object>, 'subject': <django.forms.fields.CharField object>}
- template_use = 2
- variables = {}
- class shuup.notify.actions.SetDebugFlag(data, validate=True)[source]
Bases:
Action
- bindings = {'flag_name': <shuup.notify.base.Binding object>}
- execute(context)[source]
- Parameters:
context (shuup.notify.script.Context) – Script Context
- identifier = 'set_debug_flag'
- name = 'Set Debug Flag'
- variables = {}