November Happy Hour will be moved to Thursday December 5th.

Class FulfillmentStatusExtensions

Extension methods for FulfillmentStatus.

Inheritance
System.Object
FulfillmentStatusExtensions
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Commerce.Extensions
Assembly: Mediachase.Commerce.dll
Version: 12.17.2
Syntax
public static class FulfillmentStatusExtensions

Methods

GetRewardDescriptionText(FulfillmentStatus)

Gets the reward description text based on a promotion's FulfillmentStatus.

Declaration
public static string GetRewardDescriptionText(this FulfillmentStatus fulfillmentStatus)
Parameters
Type Name Description
FulfillmentStatus fulfillmentStatus

The applied promotion's FulfillmentStatus.

Returns
Type Description
System.String

The reward description text.

Remarks

By default, get the reward description text from promotion's resource.

GetRewardDescriptionText(FulfillmentStatus, LocalizationService)

Gets the reward description text based on a promotion's FulfillmentStatus.

Declaration
public static string GetRewardDescriptionText(this FulfillmentStatus fulfillmentStatus, LocalizationService localizationService)
Parameters
Type Name Description
FulfillmentStatus fulfillmentStatus

The applied promotion's FulfillmentStatus.

EPiServer.Framework.Localization.LocalizationService localizationService

The localization service.

Returns
Type Description
System.String

The reward description text.

Remarks

By default, get the reward description text from promotion's resource.

GetRewardDescriptionText(FulfillmentStatus, String, LocalizationService)

Gets the reward description text based on a promotion's FulfillmentStatus.

Declaration
public static string GetRewardDescriptionText(this FulfillmentStatus fulfillmentStatus, string promotionType, LocalizationService localizationService)
Parameters
Type Name Description
FulfillmentStatus fulfillmentStatus

The applied promotion's FulfillmentStatus.

System.String promotionType

The name of promotion's System.Type.

EPiServer.Framework.Localization.LocalizationService localizationService

The localization service.

Returns
Type Description
System.String

The reward description text.

GetRewardDescriptionText(FulfillmentStatus, Type)

Gets the reward description text based on a promotion's FulfillmentStatus.

Declaration
public static string GetRewardDescriptionText(this FulfillmentStatus fulfillmentStatus, Type promotionType)
Parameters
Type Name Description
FulfillmentStatus fulfillmentStatus

The applied promotion's FulfillmentStatus.

System.Type promotionType

The System.Type of the promotion.

Returns
Type Description
System.String

The reward description text.

GetRewardDescriptionText(FulfillmentStatus, Type, LocalizationService)

Gets the reward description text based on a promotion's FulfillmentStatus.

Declaration
public static string GetRewardDescriptionText(this FulfillmentStatus fulfillmentStatus, Type promotionType, LocalizationService localizationService)
Parameters
Type Name Description
FulfillmentStatus fulfillmentStatus

The applied promotion's FulfillmentStatus.

System.Type promotionType

The System.Type of the promotion.

EPiServer.Framework.Localization.LocalizationService localizationService

The localization service.

Returns
Type Description
System.String

The reward description text.