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