London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

Class PromotionSchedule

Represents a content based promotion schedule item.

Inheritance
System.Object
PromotionSchedule
Namespace: EPiServer.Commerce.Marketing
Assembly: EPiServer.Business.Commerce.dll
Version: 13.30.0
Syntax
public class PromotionSchedule : BlockData

Constructors

PromotionSchedule()

Declaration
public PromotionSchedule()

Properties

Gets or sets the reference to the campaign.

Declaration
public virtual ContentReference CampaignLink { get; set; }
Property Value
Type Description
EPiServer.Core.ContentReference

UseCampaignDate

Gets or sets the track Campaign validation dates.

Declaration
public virtual bool UseCampaignDate { get; set; }
Property Value
Type Description
System.Boolean

true to follow Campaign dates; false to use discount own dates.

ValidFrom

Gets or sets the time when the promotion starts.

Declaration
public virtual DateTime ValidFrom { get; set; }
Property Value
Type Description
System.DateTime

ValidUntil

Gets or sets the time when the promotion ends.

Declaration
public virtual DateTime ValidUntil { get; set; }
Property Value
Type Description
System.DateTime