-
- All Implemented Interfaces:
-
com.meniga.sdk.interfaces.ValueHashable
public final class AcceptChallenge extends QueryRequestObject
-
-
Field Summary
Fields Modifier and Type Field Description private transient UUIDidprivate MenigaDecimaltargetAmount
-
Constructor Summary
Constructors Constructor Description AcceptChallenge(UUID id, MenigaDecimal targetAmount)
-
Method Summary
Modifier and Type Method Description LonggetValueHash()final UUIDcomponent1()final MenigaDecimalcomponent2()final AcceptChallengecopy(UUID id, MenigaDecimal targetAmount)final UUIDgetId()final MenigaDecimalgetTargetAmount()final UnitsetId(@JvmField() UUID id)final UnitsetTargetAmount(@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.
-
-
-
-