Interface IMailRequest
Interface for e-mail notification requests.
Namespace: StylelabsStylelabs.MSdkStylelabs.M.Sdk.ContractsNotifications
Assembly: Stylelabs.M.Sdk.dll
Syntax
RequestResponse
public interface IMailRequest
Properties
MailTemplateName
Gets or sets the name of the mail template to be used.
Declaration
RequestResponse
string MailTemplateName { get; set; }
Property Value
Type | Description |
---|---|
string |
Variables
Gets or sets the variables to be applied on the mail template.
Declaration
RequestResponse
JObject Variables { get; set; }
Property Value
Type | Description |
---|---|
JObject |
Methods
Validate()
Validates the mail request.
Declaration
RequestResponse
void Validate()
Exceptions
Type | Condition |
---|---|
ValidationException |
When the request has invalid properties. |