-
- All Implemented Interfaces:
-
com.meniga.sdk.interfaces.ValueHashable
public final class AcceptChallenge extends QueryRequestObject
-
-
Field Summary
Fields Modifier and Type Field Description private transient UUID
id
private MenigaDecimal
targetAmount
-
Constructor Summary
Constructors Constructor Description AcceptChallenge(UUID id, MenigaDecimal targetAmount)
-
Method Summary
Modifier and Type Method Description Long
getValueHash()
final UUID
component1()
final MenigaDecimal
component2()
final AcceptChallenge
copy(UUID id, MenigaDecimal targetAmount)
final UUID
getId()
final MenigaDecimal
getTargetAmount()
final Unit
setId(@JvmField() UUID id)
final Unit
setTargetAmount(@JvmField() MenigaDecimal targetAmount)
-
Methods inherited from class com.meniga.sdk.interfaces.ValueHashable
equals, hashCode, toString
-
Methods inherited from class com.meniga.sdk.webservices.challenge.AcceptChallenge
toQueryMap
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
AcceptChallenge
AcceptChallenge(UUID id, MenigaDecimal targetAmount)
- Parameters:
id
- The id of the challenge to accept.targetAmount
- The target amount for the challenge.
-
-
Method Detail
-
getValueHash
Long getValueHash()
-
component1
final UUID component1()
-
component2
final MenigaDecimal component2()
-
copy
final AcceptChallenge copy(UUID id, MenigaDecimal targetAmount)
- Parameters:
id
- The id of the challenge to accept.targetAmount
- The target amount for the challenge.
-
getTargetAmount
final MenigaDecimal getTargetAmount()
-
setTargetAmount
final Unit setTargetAmount(@JvmField() MenigaDecimal targetAmount)
- Parameters:
targetAmount
- The target amount for the challenge.
-
-
-
-