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

io.everitoken.sdk.java.abi.DestroyTokenAction Maven / Gradle / Ivy

There is a newer version: 1.4.6
Show newest version
package io.everitoken.sdk.java.abi;

import com.alibaba.fastjson.annotation.JSONField;

import org.jetbrains.annotations.Contract;
import org.jetbrains.annotations.NotNull;

public class DestroyTokenAction extends Abi {

    @JSONField(deserialize = false, serialize = false)
    private static final String name = "destroytoken";

    private DestroyTokenAction(String domain, String tokenName) {
        super(name, tokenName, domain);
    }

    @NotNull
    @Contract("_, _ -> new")
    public static DestroyTokenAction of(String domain, String tokenName) {
        return new DestroyTokenAction(domain, tokenName);
    }

    @Override
    @JSONField(name = "name")
    public String getKey() {
        return super.getKey();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy