public class Transaction extends java.lang.Object implements WorkflowEvent
Constructor and Description |
---|
Transaction(@NonNull java.lang.String transactionId,
@NonNull java.lang.String commandId,
@NonNull java.lang.String workflowId,
@NonNull java.time.Instant effectiveAt,
@NonNull java.util.List<Event> events,
@NonNull java.lang.String offset) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
static Transaction |
fromProto(com.digitalasset.ledger.api.v1.TransactionOuterClass.Transaction transaction) |
@NonNull java.lang.String |
getCommandId() |
@NonNull java.time.Instant |
getEffectiveAt() |
@NonNull java.util.List<Event> |
getEvents() |
@NonNull java.lang.String |
getOffset() |
@NonNull java.lang.String |
getTransactionId() |
@NonNull java.lang.String |
getWorkflowId() |
int |
hashCode() |
com.digitalasset.ledger.api.v1.TransactionOuterClass.Transaction |
toProto() |
java.lang.String |
toString() |
public Transaction(@NonNull java.lang.String transactionId, @NonNull java.lang.String commandId, @NonNull java.lang.String workflowId, @NonNull java.time.Instant effectiveAt, @NonNull java.util.List<Event> events, @NonNull java.lang.String offset)
public static Transaction fromProto(com.digitalasset.ledger.api.v1.TransactionOuterClass.Transaction transaction)
public com.digitalasset.ledger.api.v1.TransactionOuterClass.Transaction toProto()
public @NonNull java.lang.String getTransactionId()
public @NonNull java.lang.String getCommandId()
public @NonNull java.time.Instant getEffectiveAt()
public @NonNull java.util.List<Event> getEvents()
public @NonNull java.lang.String getOffset()
public @NonNull java.lang.String getWorkflowId()
getWorkflowId
in interface WorkflowEvent
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object