public class Transfer extends Payload
| Modifier and Type | Class and Description |
|---|---|
static class |
Transfer.TransferBuilder |
| Constructor and Description |
|---|
Transfer(@NonNull AccountAddress receiver,
@NonNull CCDAmount amount) |
| Modifier and Type | Method and Description |
|---|---|
static Transfer.TransferBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
static Transfer |
fromBytes(ByteBuffer source) |
CCDAmount |
getAmount() |
protected byte[] |
getPayloadBytes()
This must return the payload only.
|
AccountAddress |
getReceiver() |
int |
hashCode() |
String |
toString() |
public Transfer(@NonNull
@NonNull AccountAddress receiver,
@NonNull
@NonNull CCDAmount amount)
protected byte[] getPayloadBytes()
PayloadPayload.getBytes()getPayloadBytes in class Payloadpublic static Transfer fromBytes(ByteBuffer source)
public static Transfer.TransferBuilder builder()
public AccountAddress getReceiver()
public CCDAmount getAmount()
Copyright © 2026. All rights reserved.