Class TransferData
- java.lang.Object
-
- com.syntifi.casper.sdk.model.transfer.TransferData
-
public class TransferData extends java.lang.Object
Root class for a Casper transfer request- Since:
- 0.0.1
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TransferData.TransferDataBuilder
-
Constructor Summary
Constructors Constructor Description TransferData()
TransferData(java.lang.String apiVersion, java.lang.String blockHash, java.util.List<Transfer> transfers)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TransferData.TransferDataBuilder
builder()
java.lang.String
getApiVersion()
The RPC API versionjava.lang.String
getBlockHash()
Block hashjava.util.List<Transfer>
getTransfers()
List of @see Transfervoid
setApiVersion(java.lang.String apiVersion)
The RPC API versionvoid
setBlockHash(java.lang.String blockHash)
Block hashvoid
setTransfers(java.util.List<Transfer> transfers)
List of @see Transfer
-
-
-
Constructor Detail
-
TransferData
public TransferData(java.lang.String apiVersion, java.lang.String blockHash, java.util.List<Transfer> transfers)
-
TransferData
public TransferData()
-
-
Method Detail
-
builder
public static TransferData.TransferDataBuilder builder()
-
getApiVersion
public java.lang.String getApiVersion()
The RPC API version
-
getBlockHash
public java.lang.String getBlockHash()
Block hash
-
getTransfers
public java.util.List<Transfer> getTransfers()
List of @see Transfer
-
setApiVersion
public void setApiVersion(java.lang.String apiVersion)
The RPC API version
-
setBlockHash
public void setBlockHash(java.lang.String blockHash)
Block hash
-
setTransfers
public void setTransfers(java.util.List<Transfer> transfers)
List of @see Transfer
-
-