Interface IMailTemplate
A strongly typed entity interface for mail templates.
Inherited Members
Namespace: StylelabsStylelabs.MSdkStylelabs.M.Sdk.ContractsNotifications
Assembly: Stylelabs.M.Sdk.dll
Syntax
RequestResponse
public interface IMailTemplate : ITypedEntity, IEntity, IResource, IDirtyTracking
Properties
Name
Gets or sets the name.
Declaration
RequestResponse
string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
GetBody(CultureInfo)
Gets the body.
Declaration
RequestResponse
string GetBody(CultureInfo culture)
Parameters
Type | Name | Description |
---|---|---|
CultureInfo | culture |
The culture. |
Returns
Type | Description |
---|---|
string |
The body. |
GetDescription(CultureInfo)
Gets the description.
Declaration
RequestResponse
string GetDescription(CultureInfo culture)
Parameters
Type | Name | Description |
---|---|---|
CultureInfo | culture |
The culture. |
Returns
Type | Description |
---|---|
string |
The description. |
GetSubject(CultureInfo)
Gets the subject.
Declaration
RequestResponse
string GetSubject(CultureInfo culture)
Parameters
Type | Name | Description |
---|---|---|
CultureInfo | culture |
The culture. |
Returns
Type | Description |
---|---|
string |
The subject. |
GetTemplateVariables()
Gets the template variables.
Declaration
RequestResponse
IList<TemplateVariable> GetTemplateVariables()
Returns
Type | Description |
---|---|
IList<>TemplateVariable |
A list of template variables. |
SetBody(CultureInfo, string)
Sets the body.
Declaration
RequestResponse
void SetBody(CultureInfo culture, string body)
Parameters
Type | Name | Description |
---|---|---|
CultureInfo | culture |
The culture. |
string | body |
The body. |
SetDescription(CultureInfo, string)
Sets the description.
Declaration
RequestResponse
void SetDescription(CultureInfo culture, string description)
Parameters
Type | Name | Description |
---|---|---|
CultureInfo | culture |
The culture. |
string | description |
The description. |
SetSubject(CultureInfo, string)
Sets the subject.
Declaration
RequestResponse
void SetSubject(CultureInfo culture, string subject)
Parameters
Type | Name | Description |
---|---|---|
CultureInfo | culture |
The culture. |
string | subject |
The subject. |
SetTemplateVariables(IEnumerable<TemplateVariable>)
Sets the template variables.
Declaration
RequestResponse
void SetTemplateVariables(IEnumerable<TemplateVariable> variables)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<>TemplateVariable | variables |
A collection of template variables. |