Class Transfer
- java.lang.Object
-
- com.syntifi.casper.sdk.model.transfer.Transfer
-
public class Transfer extends java.lang.Object
Represents a transfer from one purse to another- Since:
- 0.0.1
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Transfer.TransferBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Transfer.TransferBuilder
builder()
java.math.BigInteger
getAmount()
Amount transferedjava.lang.String
getDeployHash()
Hex-encoded hashjava.lang.String
getFrom()
Hex-encoded account hash.java.math.BigInteger
getGas()
Decimal representation of a 512-bit integer.java.math.BigInteger
getId()
protected java.lang.String
getJsonAmount()
protected java.lang.String
getJsonGas()
java.lang.String
getSource()
Hex-encoded, formatted URefjava.lang.String
getTarget()
Hex-encoded, formatted URefjava.lang.String
getTo()
Hex-encoded account hash.void
setAmount(java.math.BigInteger amount)
Amount transferedvoid
setDeployHash(java.lang.String deployHash)
Hex-encoded hashvoid
setFrom(java.lang.String from)
Hex-encoded account hash.void
setGas(java.math.BigInteger gas)
Decimal representation of a 512-bit integer.void
setId(java.math.BigInteger id)
protected void
setJsonAmount(java.lang.String value)
protected void
setJsonGas(java.lang.String value)
void
setSource(java.lang.String source)
Hex-encoded, formatted URefvoid
setTarget(java.lang.String target)
Hex-encoded, formatted URefvoid
setTo(java.lang.String to)
Hex-encoded account hash.
-
-
-
Method Detail
-
getJsonAmount
@ExcludeFromJacocoGeneratedReport protected java.lang.String getJsonAmount()
-
setJsonAmount
@ExcludeFromJacocoGeneratedReport protected void setJsonAmount(java.lang.String value)
-
getJsonGas
@ExcludeFromJacocoGeneratedReport protected java.lang.String getJsonGas()
-
setJsonGas
@ExcludeFromJacocoGeneratedReport protected void setJsonGas(java.lang.String value)
-
builder
public static Transfer.TransferBuilder builder()
-
getId
public java.math.BigInteger getId()
-
getTo
public java.lang.String getTo()
Hex-encoded account hash.
-
getFrom
public java.lang.String getFrom()
Hex-encoded account hash.
-
getAmount
public java.math.BigInteger getAmount()
Amount transfered
-
getDeployHash
public java.lang.String getDeployHash()
Hex-encoded hash
-
getSource
public java.lang.String getSource()
Hex-encoded, formatted URef
-
getTarget
public java.lang.String getTarget()
Hex-encoded, formatted URef
-
getGas
public java.math.BigInteger getGas()
Decimal representation of a 512-bit integer.
-
setId
public void setId(java.math.BigInteger id)
-
setTo
public void setTo(java.lang.String to)
Hex-encoded account hash.
-
setFrom
public void setFrom(java.lang.String from)
Hex-encoded account hash.
-
setAmount
public void setAmount(java.math.BigInteger amount)
Amount transfered
-
setDeployHash
public void setDeployHash(java.lang.String deployHash)
Hex-encoded hash
-
setSource
public void setSource(java.lang.String source)
Hex-encoded, formatted URef
-
setTarget
public void setTarget(java.lang.String target)
Hex-encoded, formatted URef
-
setGas
public void setGas(java.math.BigInteger gas)
Decimal representation of a 512-bit integer.
-
-