Class BackInStockRecipientProvider
- Assembly
- Dynamicweb.Ecommerce.dll
Back in stock recipient provider
[AddInName("Back in stock recipients")]
public sealed class BackInStockRecipientProvider : EmailRecipientProvider, IParameterOptions
- Inheritance
-
BackInStockRecipientProvider
- Implements
- Inherited Members
Properties
DisregardEmailAllowed
Gets or sets the value indicating whether EmailAllowed value must be taken into consideration or ignored on email sending.
[AddInParameter("DisregardEmailAllowed")]
[AddInLabel("Do not require email allowed flag")]
[AddInParameterEditor(typeof(YesNoParameterEditor), "")]
public bool DisregardEmailAllowed { get; set; }
Property Value
Website
Gets or sets the website ID. See Area.
[AddInParameter("Website")]
[AddInParameterEditor(typeof(DropDownParameterEditor), "none=false;")]
public string? Website { get; set; }
Property Value
Methods
GetParameterOptions(string)
public IEnumerable<ParameterOption> GetParameterOptions(string parameterName)
Parameters
parameterNamestring
Returns
GetRecipientContentContext(Recipient)
Gets the recipient content context. This method is used when rendering recipient specific content.
public override PageViewContext GetRecipientContentContext(Recipient recipient)
Parameters
recipientRecipientThe recipient.
Returns
- PageViewContext
The PageViewContext to render the associated page with.
GetRecipients()
Gets the recipients.
public override RecipientCollection GetRecipients()
Returns
UnsubscribeRecipient(Recipient)
Unsubscribes the recipient.
public override void UnsubscribeRecipient(Recipient recipient)
Parameters
recipientRecipientThe recipient.