Package net.daveray.rewardsapi.func
Class MonthlyRewardsFunction
java.lang.Object
net.daveray.rewardsapi.func.MonthlyRewardsFunction
@Component
public class MonthlyRewardsFunction
extends Object
implements Function<List<Map<String,Object>>,Map<String,String>>
MonthlyRewardsFunction provides the business logic
to transform a transaction query into an ApiResult.
Calls the CalculatePointsFunction to get the
total points value for a transaction.
And then sums the results for total
spend amount and points
- Since:
- November 2023