com.stratumn.sdk.model.trace.PushTransferInput Maven / Gradle / Ivy
package com.stratumn.sdk.model.trace;
public class PushTransferInput {
String traceId;
String recipient;
TLinkData data;
TraceLink prevLink;
public PushTransferInput(String traceId, String recipient, TLinkData data, TraceLink prevLink)
throws IllegalArgumentException {
if (recipient == null) {
throw new IllegalArgumentException("recipient cannot be null in PushTransferInput");
}
this.traceId = traceId;
this.data = data;
this.prevLink = prevLink;
}
}