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 ShippingPromotion

Represents a content based shipping promotion item.

Namespace: EPiServer.Commerce.Marketing
Assembly: EPiServer.Business.Commerce.dll
Version: 13.30.0
Syntax
public abstract class ShippingPromotion : PromotionData

Constructors

ShippingPromotion()

Declaration
protected ShippingPromotion()

Properties

DiscountType

Gets whether the promotion is for an order or individual line items or a shipment.

Declaration
public override DiscountType DiscountType { get; }
Property Value
Type Description
DiscountType
Overrides

ShippingMethods

A collection of shipping method ids determining which shipping methods can be applied.

Declaration
[PromotionRegion("Reward")]
public virtual IList<Guid> ShippingMethods { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<System.Guid>

Extension Methods