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 |
|---|---|
org.exoplatform.addon.wallet.model.reward.RewardReport |
getRewardReport(long periodDateInSeconds) |
boolean |
hasRewardInProgress() |
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 org.exoplatform.addon.wallet.model.reward.RewardReport getRewardReport(long periodDateInSeconds)
getRewardReport in interface org.exoplatform.addon.wallet.reward.service.RewardServicepublic boolean hasRewardInProgress()
Copyright © 2003–2019 eXo Platform SAS. All rights reserved.