Package com.pubmatic.sdk.openwrap.core
Class POBReward
-
- All Implemented Interfaces:
-
com.pubmatic.sdk.common.ui.POBCoreReward
public class POBReward implements POBCoreRewardModal class to hold information of rewards.
-
-
Field Summary
Fields Modifier and Type Field Description public final StringcurrencyTypepublic final intamountpublic final static StringDEFAULT_REWARD_TYPE_LABELpublic final static intDEFAULT_REWARD_AMOUNT_VALUE
-
Method Summary
-
-
Constructor Detail
-
POBReward
POBReward(String currencyType, int amount)
Constructor.- Parameters:
currencyType- Reward currency typeamount- Reward amount
-
-
Method Detail
-
getCurrencyType
@NonNull() String getCurrencyType()
Getter for Reward currency type
- Returns:
Reward currency type as string
-
getAmount
int getAmount()
Getter for Reward amount
- Returns:
Reward amount
-
hashCode
int hashCode()
-
-
-
-