toggle menu
Ansa-Android-SDK
common
switch theme
search in API
core
/
dev.ansa.sdk.ui.core.money
/
MonetaryAmount
Monetary
Amount
data
class
MonetaryAmount
(
val
rawAmount
:
Double
,
val
currencyCode
:
String
)
Members
Members & Extensions
Constructors
Monetary
Amount
Link copied to clipboard
constructor
(
rawAmount
:
Long
,
currencyCode
:
String
)
constructor
(
rawAmount
:
Double
,
currencyCode
:
String
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
amount
Link copied to clipboard
val
amount
:
Double
currency
Code
Link copied to clipboard
val
currencyCode
:
String
display
Link copied to clipboard
val
MonetaryAmount
.
display
:
String
display
With
Symbol
Link copied to clipboard
val
MonetaryAmount
.
displayWithSymbol
:
String
raw
Amount
Link copied to clipboard
val
rawAmount
:
Double
Functions
plus
Link copied to clipboard
operator
fun
MonetaryAmount
.
plus
(
other
:
MonetaryAmount
?
)
:
MonetaryAmount