toggle menu
adyen-android
androidJvm
switch theme
search in API
components-core
/
com.adyen.checkout.components.core
/
Amount
Amount
data
class
Amount
(
var
currency
:
String
?
=
null
,
var
value
:
Long
=
0
)
:
ModelObject
Members
Members & Extensions
Constructors
Amount
Link copied to clipboard
constructor
(
currency
:
String
?
=
null
,
value
:
Long
=
0
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
currency
Link copied to clipboard
var
currency
:
String
?
is
Empty
Link copied to clipboard
@get:
RestrictTo
(
value
=
[
RestrictTo.Scope.LIBRARY_GROUP
]
)
val
Amount
.
isEmpty
:
Boolean
is
Zero
Link copied to clipboard
@get:
RestrictTo
(
value
=
[
RestrictTo.Scope.LIBRARY_GROUP
]
)
val
Amount
.
isZero
:
Boolean
value
Link copied to clipboard
var
value
:
Long
Functions
describe
Contents
Link copied to clipboard
open
override
fun
describeContents
(
)
:
Int
validate
Link copied to clipboard
@
RestrictTo
(
value
=
[
RestrictTo.Scope.LIBRARY_GROUP
]
)
fun
Amount
.
validate
(
)
write
To
Parcel
Link copied to clipboard
abstract
fun
writeToParcel
(
p0
:
Parcel
,
p1
:
Int
)