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
-
-
Constructor Summary
Constructors Constructor Description Withdraw()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
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.int
hashCode()
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.java.lang.String
toString()
-
-
-
Method Detail
-
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.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-