com.casper.sdk.model.transaction.TransactionHash Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of casper-java-sdk Show documentation
Show all versions of casper-java-sdk Show documentation
SDK to streamline the 3rd party Java client integration processes. Such 3rd parties include exchanges & app developers.
The newest version!
package com.casper.sdk.model.transaction;
import com.casper.sdk.model.common.Digest;
import com.fasterxml.jackson.annotation.JsonSubTypes;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import lombok.Getter;
import lombok.Setter;
/**
* The hash of a transaction
*
* @author [email protected]
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.WRAPPER_OBJECT)
@JsonSubTypes({
@JsonSubTypes.Type(value = TransactionHashDeploy.class, name = "Deploy"),
@JsonSubTypes.Type(value = TransactionHashV1.class, name = "Version1")})
@Getter
@Setter
public abstract class TransactionHash extends Digest {
protected TransactionHash(final String digest) {
super(digest);
}
protected TransactionHash() {
}
}