Click or drag to resize

RewardGetRewards Method (Boolean, String, NullableBoolean, RewardCollectionSortDirection, RewardCollectionSortBy)

Note: This API is now obsolete.

Namespace:  Dynamicweb.Ecommerce.Loyalty
Assembly:  Dynamicweb.Ecommerce (in Dynamicweb.Ecommerce.dll) Version: 1.12.0
Syntax
[ObsoleteAttribute("Use Services.Loyalty.GetRewards() instead.")]
public static RewardCollection GetRewards(
	bool force,
	string languageId,
	Nullable<bool> archiveMode = null,
	RewardCollectionSortDirection sortDirection = RewardCollectionSortDirection.Ascending,
	RewardCollectionSortBy SortBy = RewardCollectionSortBy.Name
)

Parameters

force
Type: SystemBoolean
languageId
Type: SystemString
archiveMode (Optional)
Type: SystemNullableBoolean
sortDirection (Optional)
Type: Dynamicweb.Ecommerce.LoyaltyRewardCollectionSortDirection
SortBy (Optional)
Type: Dynamicweb.Ecommerce.LoyaltyRewardCollectionSortBy

Return Value

Type: RewardCollection
See Also