mirror of
https://github.com/gosticks/iota.lib.java.git
synced 2026-08-19 07:40:21 +00:00
26 lines
629 B
Java
26 lines
629 B
Java
package jota.dto.request;
|
|
|
|
import jota.IotaAPICommands;
|
|
|
|
public class IotaStoreTransactionsRequest extends IotaCommandRequest {
|
|
|
|
private String[] trytes;
|
|
|
|
private IotaStoreTransactionsRequest(final String... trytes) {
|
|
super(IotaAPICommands.STORE_TRANSACTIONS);
|
|
this.trytes = trytes;
|
|
}
|
|
|
|
public static IotaStoreTransactionsRequest createStoreTransactionsRequest(final String... trytes) {
|
|
return new IotaStoreTransactionsRequest(trytes);
|
|
}
|
|
|
|
public String[] getTrytes() {
|
|
return trytes;
|
|
}
|
|
|
|
public void setTrytes(String[] trytes) {
|
|
this.trytes = trytes;
|
|
}
|
|
}
|