Table of Contents

Class BackInStockRecipientProvider

Namespace
Dynamicweb.Ecommerce.EmailMarketing.EmailRecipientProviders
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

bool

Website

Gets or sets the website ID. See Area.

[AddInParameter("Website")]
[AddInParameterEditor(typeof(DropDownParameterEditor), "none=false;")]
public string? Website { get; set; }

Property Value

string

Methods

GetParameterOptions(string)

public IEnumerable<ParameterOption> GetParameterOptions(string parameterName)

Parameters

parameterName string

Returns

IEnumerable<ParameterOption>

GetRecipientContentContext(Recipient)

Gets the recipient content context. This method is used when rendering recipient specific content.

public override PageViewContext GetRecipientContentContext(Recipient recipient)

Parameters

recipient Recipient

The recipient.

Returns

PageViewContext

The PageViewContext to render the associated page with.

GetRecipients()

Gets the recipients.

public override RecipientCollection GetRecipients()

Returns

RecipientCollection

UnsubscribeRecipient(Recipient)

Unsubscribes the recipient.

public override void UnsubscribeRecipient(Recipient recipient)

Parameters

recipient Recipient

The recipient.

To top