Class Transfer.TransferBuilder
- java.lang.Object
-
- com.syntifi.casper.sdk.model.transfer.Transfer.TransferBuilder
-
- Enclosing class:
- Transfer
public static class Transfer.TransferBuilder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Transfer.TransferBuilder
amount(java.math.BigInteger amount)
Amount transferedTransfer
build()
Transfer.TransferBuilder
deployHash(java.lang.String deployHash)
Hex-encoded hashTransfer.TransferBuilder
from(java.lang.String from)
Hex-encoded account hash.Transfer.TransferBuilder
gas(java.math.BigInteger gas)
Decimal representation of a 512-bit integer.Transfer.TransferBuilder
id(java.math.BigInteger id)
Transfer.TransferBuilder
source(java.lang.String source)
Hex-encoded, formatted URefTransfer.TransferBuilder
target(java.lang.String target)
Hex-encoded, formatted URefTransfer.TransferBuilder
to(java.lang.String to)
Hex-encoded account hash.java.lang.String
toString()
-
-
-
Method Detail
-
id
public Transfer.TransferBuilder id(java.math.BigInteger id)
- Returns:
this
.
-
to
public Transfer.TransferBuilder to(java.lang.String to)
Hex-encoded account hash.- Returns:
this
.
-
from
public Transfer.TransferBuilder from(java.lang.String from)
Hex-encoded account hash.- Returns:
this
.
-
amount
public Transfer.TransferBuilder amount(java.math.BigInteger amount)
Amount transfered- Returns:
this
.
-
deployHash
public Transfer.TransferBuilder deployHash(java.lang.String deployHash)
Hex-encoded hash- Returns:
this
.
-
source
public Transfer.TransferBuilder source(java.lang.String source)
Hex-encoded, formatted URef- Returns:
this
.
-
target
public Transfer.TransferBuilder target(java.lang.String target)
Hex-encoded, formatted URef- Returns:
this
.
-
gas
public Transfer.TransferBuilder gas(java.math.BigInteger gas)
Decimal representation of a 512-bit integer.- Returns:
this
.
-
build
public Transfer build()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-