TrustWeave SDK
Toggle table of contents
0.7.0
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
TrustWeave SDK
contract
/
org.trustweave.contract.models
/
Reward
Reward
@
Serializable
data
class
Reward
(
val
id
:
String
,
val
description
:
String
,
val
rewardType
:
RewardType
,
val
amount
:
MonetaryAmount
?
=
null
,
val
metadata
:
JsonElement
?
=
null
)
Reward.
Members
Constructors
Reward
Link copied to clipboard
constructor
(
id
:
String
,
description
:
String
,
rewardType
:
RewardType
,
amount
:
MonetaryAmount
?
=
null
,
metadata
:
JsonElement
?
=
null
)
Properties
amount
Link copied to clipboard
val
amount
:
MonetaryAmount
?
description
Link copied to clipboard
val
description
:
String
id
Link copied to clipboard
val
id
:
String
metadata
Link copied to clipboard
val
metadata
:
JsonElement
?
reward
Type
Link copied to clipboard
val
rewardType
:
RewardType