Interface RewardIssuanceService
- All Known Implementing Classes:
UserRewardIssuanceService
public interface RewardIssuanceService
-
Method Summary
Modifier and TypeMethodDescriptionFetches the instance ofRewardIssuancefor the given .getRewardIssuances(int offset, int count, List<RewardIssuance.State> states, List<String> tags) Fetches allRewardIssuances for the logged-in user, filtered by the optional given and .Redeems the givenRewardIssuanceby .redeemRewardIssuances(List<String> rewardIssuanceIds) Redeems the given list of forRewardIssuances.
-
Method Details
-
getRewardIssuance
Fetches the instance ofRewardIssuancefor the given .- Parameters:
id- the id of theRewardIssuanceas specified byRewardIssuance.getId().- Returns:
- the
RewardIssuance.
-
getRewardIssuances
Pagination<RewardIssuance> getRewardIssuances(int offset, int count, List<RewardIssuance.State> states, List<String> tags) Fetches allRewardIssuances for the logged-in user, filtered by the optional given and .- Returns:
PaginationofRewardIssuances.
-
redeemRewardIssuance
Redeems the givenRewardIssuanceby .- Parameters:
id-- Returns:
- the redemption
RewardIssuanceRedemptionResult.
-
redeemRewardIssuances
Redeems the given list of forRewardIssuances.- Parameters:
rewardIssuanceIds-- Returns:
- the list of redemption
RewardIssuanceRedemptionResults.
-