Class Withdraw
- java.lang.Object
-
- com.syntifi.casper.sdk.model.transfer.Withdraw
-
public class Withdraw extends java.lang.ObjectA withdraw.- Since:
- 0.0.1
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWithdraw.WithdrawBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Withdraw.WithdrawBuilderbuilder()java.lang.StringgetAmount()amount(String) - Decimal representation of a 512-bit integer.URefgetBondingPurse()bonding_purse(String) - Hex-encoded, formatted URef.intgetEraOfCreation()amount(Integer) - Era ID newtype.java.lang.StringgetUnbonderPublicKey()unbonder_public_key(String) - Hex-encoded cryptographic public key, including the algorithm tag prefix.java.lang.StringgetValidatorPublicKey()validator_public_key(String) - Hex-encoded cryptographic public key, including the algorithm tag prefix.voidsetAmount(java.lang.String amount)amount(String) - Decimal representation of a 512-bit integer.voidsetBondingPurse(URef bondingPurse)bonding_purse(String) - Hex-encoded, formatted URef.voidsetEraOfCreation(int eraOfCreation)amount(Integer) - Era ID newtype.voidsetUnbonderPublicKey(java.lang.String unbonderPublicKey)unbonder_public_key(String) - Hex-encoded cryptographic public key, including the algorithm tag prefix.voidsetValidatorPublicKey(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.
-
-