Package com.whatsapp.api.domain.messages
Class Currency
java.lang.Object
com.whatsapp.api.domain.messages.Currency
The type Currency.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
Gets amount 1000.getCode()
Gets code.Gets fallback value.setAmount1000
(long amount1000) Sets amount 1000.Sets code.setFallbackValue
(String fallbackValue) Sets fallback value.
-
Constructor Details
-
Currency
public Currency()Instantiates a new Currency. -
Currency
Instantiates a new Currency.- Parameters:
fallbackValue
- the fallback valuecode
- the codeamount1000
- the amount 1000
-
-
Method Details
-
getFallbackValue
Gets fallback value.- Returns:
- the fallback value
-
setFallbackValue
Sets fallback value.- Parameters:
fallbackValue
- the fallback value- Returns:
- the fallback value
-
getCode
Gets code.- Returns:
- the code
-
setCode
Sets code.- Parameters:
code
- the code- Returns:
- the code
-
getAmount1000
public long getAmount1000()Gets amount 1000.- Returns:
- the amount 1000
-
setAmount1000
Sets amount 1000.- Parameters:
amount1000
- the amount 1000- Returns:
- the amount 1000
-