Class Withdraw
- java.lang.Object
-
- com.syntifi.casper.sdk.model.transfer.Withdraw
-
public class Withdraw extends java.lang.Object
A withdraw.- Since:
- 0.0.1
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Withdraw.WithdrawBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Withdraw.WithdrawBuilder
builder()
java.lang.String
getAmount()
amount(String) - Decimal representation of a 512-bit integer.URef
getBondingPurse()
bonding_purse(String) - Hex-encoded, formatted URef.int
getEraOfCreation()
amount(Integer) - Era ID newtype.java.lang.String
getUnbonderPublicKey()
unbonder_public_key(String) - Hex-encoded cryptographic public key, including the algorithm tag prefix.java.lang.String
getValidatorPublicKey()
validator_public_key(String) - Hex-encoded cryptographic public key, including the algorithm tag prefix.void
setAmount(java.lang.String amount)
amount(String) - Decimal representation of a 512-bit integer.void
setBondingPurse(URef bondingPurse)
bonding_purse(String) - Hex-encoded, formatted URef.void
setEraOfCreation(int eraOfCreation)
amount(Integer) - Era ID newtype.void
setUnbonderPublicKey(java.lang.String unbonderPublicKey)
unbonder_public_key(String) - Hex-encoded cryptographic public key, including the algorithm tag prefix.void
setValidatorPublicKey(java.lang.String validatorPublicKey)
validator_public_key(String) - Hex-encoded cryptographic public key, including the algorithm tag prefix.
-
-
-
Constructor Detail
-
Withdraw
public Withdraw(java.lang.String amount, URef bondingPurse, int eraOfCreation, java.lang.String unbonderPublicKey, java.lang.String validatorPublicKey)
-
Withdraw
public Withdraw()
-
-
Method Detail
-
builder
public static Withdraw.WithdrawBuilder builder()
-
getAmount
public java.lang.String getAmount()
amount(String) - Decimal representation of a 512-bit integer.
-
getBondingPurse
public URef getBondingPurse()
bonding_purse(String) - Hex-encoded, formatted URef.
-
getEraOfCreation
public int getEraOfCreation()
amount(Integer) - Era ID newtype.
-
getUnbonderPublicKey
public java.lang.String getUnbonderPublicKey()
unbonder_public_key(String) - Hex-encoded cryptographic public key, including the algorithm tag prefix.
-
getValidatorPublicKey
public java.lang.String getValidatorPublicKey()
validator_public_key(String) - Hex-encoded cryptographic public key, including the algorithm tag prefix.
-
setAmount
public void setAmount(java.lang.String amount)
amount(String) - Decimal representation of a 512-bit integer.
-
setBondingPurse
public void setBondingPurse(URef bondingPurse)
bonding_purse(String) - Hex-encoded, formatted URef.
-
setEraOfCreation
public void setEraOfCreation(int eraOfCreation)
amount(Integer) - Era ID newtype.
-
setUnbonderPublicKey
public void setUnbonderPublicKey(java.lang.String unbonderPublicKey)
unbonder_public_key(String) - Hex-encoded cryptographic public key, including the algorithm tag prefix.
-
setValidatorPublicKey
public void setValidatorPublicKey(java.lang.String validatorPublicKey)
validator_public_key(String) - Hex-encoded cryptographic public key, including the algorithm tag prefix.
-
-