mychips-react-sdk
Version:
MyChips Offerwall
17 lines (15 loc) • 403 B
JavaScript
// src/domain/RewardDTO.ts
export class RewardDTO {
constructor(totalRevenue, virtualCurrencyReward) {
this._totalRevenue = totalRevenue;
this._virtualCurrencyReward = virtualCurrencyReward;
}
getRewardInVirtualCurrency() {
return this._virtualCurrencyReward;
}
getRevenue() {
return this._totalRevenue;
}
}
//export default RewardDTO;
//# sourceMappingURL=RewardDTO.js.map