Class FulfillmentStatusExtensions
Extension methods for FulfillmentStatus.
Inheritance
Inherited Members
Namespace: EPiServer.Commerce.Extensions
Assembly: Mediachase.Commerce.dll
Version: 13.30.0Syntax
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. |