com.banxa.model.request.Nft Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-sdk Show documentation
Show all versions of java-sdk Show documentation
The Java SDK for integration with Banxa's API
The newest version!
package com.banxa.model.request;
public class Nft {
private final String name;
private final String collection;
private final NftMedia media;
private Nft(Builder builder) {
this.name = builder.name;
this.collection = builder.collection;
this.media = builder.media;
}
public String getName() {
return name;
}
public String getCollection() {
return collection;
}
public NftMedia getMedia() {
return media;
}
public static class Builder {
private final String name;
private final String collection;
private final NftMedia media;
public Builder(String name, String collection, NftMedia media) {
this.name = name;
this.collection = collection;
this.media = media;
}
public Nft build() {
return new Nft(this);
}
}
}