| 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
)
<ObsoleteAttribute("Use Services.Loyalty.GetRewards() instead.")>
Public Shared Function GetRewards (
force As Boolean,
languageId As String,
Optional archiveMode As Nullable(Of Boolean) = Nothing,
Optional sortDirection As RewardCollectionSortDirection = RewardCollectionSortDirection.Ascending,
Optional SortBy As RewardCollectionSortBy = RewardCollectionSortBy.Name
) As RewardCollection
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:
RewardCollectionSee Also