public class POBReward
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_REWARD_AMOUNT_VALUE
This reward amount value should only be used when there is no reward amount received
|
static java.lang.String |
DEFAULT_REWARD_TYPE_LABEL
This reward type should only be used when there is no reward type received.
|
| Constructor and Description |
|---|
POBReward(java.lang.String currencyType,
int amount)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getAmount()
Getter for Reward amount
|
java.lang.String |
getCurrencyType()
Getter for Reward currency type
|
java.lang.String |
toString() |
public static final java.lang.String DEFAULT_REWARD_TYPE_LABEL
public static final int DEFAULT_REWARD_AMOUNT_VALUE
public POBReward(@NonNull
java.lang.String currencyType,
int amount)
currencyType - Reward currency typeamount - Reward amount@NonNull public java.lang.String getCurrencyType()
public int getAmount()
public java.lang.String toString()
toString in class java.lang.Object