games.mythical.saga.sdk.client.executor.SagaCurrencyExecutor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of saga-sdk-java Show documentation
Show all versions of saga-sdk-java Show documentation
Saga SDK for Java game servers
package games.mythical.saga.sdk.client.executor;
import games.mythical.saga.sdk.client.model.SagaUserAmount;
import games.mythical.saga.sdk.proto.common.currency.CurrencyState;
import java.util.List;
public interface SagaCurrencyExecutor extends BaseSagaExecutor {
void currencyIssued(String currencyTypeId,
String transactionId,
List userBalances,
String idempotencyId,
String traceId) throws Exception;
void updateCurrency(String currencyTypeId,
String transactionId,
String oauthId,
String balanceInWei,
String idempotencyId,
String traceId,
CurrencyState coinState) throws Exception;
}