Class UnbondingPurse
- java.lang.Object
-
- com.syntifi.casper.sdk.model.deploy.UnbondingPurse
-
public class UnbondingPurse extends java.lang.Object
Unbonding Purse- Since:
- 0.0.1
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UnbondingPurse.UnbondingPurseBuilder
-
Constructor Summary
Constructors Constructor Description UnbondingPurse()
UnbondingPurse(java.math.BigInteger unbondingAmount, URef bondingPurse, java.math.BigInteger eraOfCreation, PublicKey unbonderPublicKey, PublicKey validatorPublicKey)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UnbondingPurse.UnbondingPurseBuilder
builder()
URef
getBondingPurse()
the bondingPurse'sURef
java.math.BigInteger
getEraOfCreation()
Era in which this unbonding request was created.protected java.lang.String
getJsonUnbondingAmount()
getter for unbondingAmount json serializationPublicKey
getUnbonderPublicKey()
UnbondersPublicKey
java.math.BigInteger
getUnbondingAmount()
Unbonding amountPublicKey
getValidatorPublicKey()
ValidatorsPublicKey
void
setBondingPurse(URef bondingPurse)
the bondingPurse'sURef
void
setEraOfCreation(java.math.BigInteger eraOfCreation)
Era in which this unbonding request was created.protected void
setJsonUnbondingAmount(java.lang.String value)
setter for unbondingAmount from json deserialized valuevoid
setUnbonderPublicKey(PublicKey unbonderPublicKey)
UnbondersPublicKey
void
setUnbondingAmount(java.math.BigInteger unbondingAmount)
Unbonding amountvoid
setValidatorPublicKey(PublicKey validatorPublicKey)
ValidatorsPublicKey
-
-
-
Method Detail
-
getJsonUnbondingAmount
@ExcludeFromJacocoGeneratedReport protected java.lang.String getJsonUnbondingAmount()
getter for unbondingAmount json serialization- Returns:
- cost as expected for json serialization
-
setJsonUnbondingAmount
@ExcludeFromJacocoGeneratedReport protected void setJsonUnbondingAmount(java.lang.String value)
setter for unbondingAmount from json deserialized value- Parameters:
value
- the deserialized value
-
builder
public static UnbondingPurse.UnbondingPurseBuilder builder()
-
getUnbondingAmount
public java.math.BigInteger getUnbondingAmount()
Unbonding amount
-
getEraOfCreation
public java.math.BigInteger getEraOfCreation()
Era in which this unbonding request was created.
-
setUnbondingAmount
public void setUnbondingAmount(java.math.BigInteger unbondingAmount)
Unbonding amount
-
setEraOfCreation
public void setEraOfCreation(java.math.BigInteger eraOfCreation)
Era in which this unbonding request was created.
-
setUnbonderPublicKey
public void setUnbonderPublicKey(PublicKey unbonderPublicKey)
UnbondersPublicKey
-
-