public class WalletRewardService extends Object implements org.exoplatform.addon.wallet.reward.service.RewardService
| Constructor and Description |
|---|
WalletRewardService(org.exoplatform.addon.wallet.service.WalletAccountService walletAccountService,
org.exoplatform.addon.wallet.service.WalletTransactionService walletTransactionService,
org.exoplatform.addon.wallet.reward.service.RewardSettingsService rewardSettingsService,
org.exoplatform.addon.wallet.reward.service.RewardTransactionService rewardTransactionService,
org.exoplatform.addon.wallet.reward.service.RewardTeamService rewardTeamService) |
| Modifier and Type | Method and Description |
|---|---|
Set<org.exoplatform.addon.wallet.model.reward.WalletReward> |
computeReward(long periodDateInSeconds) |
void |
sendRewards(long periodDateInSeconds,
String username) |
public WalletRewardService(org.exoplatform.addon.wallet.service.WalletAccountService walletAccountService,
org.exoplatform.addon.wallet.service.WalletTransactionService walletTransactionService,
org.exoplatform.addon.wallet.reward.service.RewardSettingsService rewardSettingsService,
org.exoplatform.addon.wallet.reward.service.RewardTransactionService rewardTransactionService,
org.exoplatform.addon.wallet.reward.service.RewardTeamService rewardTeamService)
public void sendRewards(long periodDateInSeconds,
String username)
throws Exception
sendRewards in interface org.exoplatform.addon.wallet.reward.service.RewardServiceExceptionpublic Set<org.exoplatform.addon.wallet.model.reward.WalletReward> computeReward(long periodDateInSeconds)
computeReward in interface org.exoplatform.addon.wallet.reward.service.RewardServiceCopyright © 2003–2019 eXo Platform SAS. All rights reserved.