All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.stratumn.sdk.model.trace.PullTransferInput Maven / Gradle / Ivy

There is a newer version: 0.0.8
Show newest version
package com.stratumn.sdk.model.trace;

public class PullTransferInput {

  String traceId;
  TLinkData data;
  TraceLink prevLink;

  public PullTransferInput(String traceId, TLinkData data, TraceLink prevLink) throws IllegalArgumentException {
    if (traceId == null && prevLink == null) {
      throw new IllegalArgumentException("traceId and prevLink cannot be both null in PullTransferInput");
    }

    this.traceId = traceId;
    this.data = data;
    this.prevLink = prevLink;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy