package net.buycraft.plugin.client;
import net.buycraft.plugin.data.Coupon;
import net.buycraft.plugin.data.RecentPayment;
import net.buycraft.plugin.data.responses.*;
import java.io.IOException;
import java.util.List;
public interface ApiClient {
ServerInformation getServerInformation() throws IOException, ApiException;
Listing retrieveListing() throws IOException, ApiException;
QueueInformation retrieveOfflineQueue() throws IOException, ApiException;
DueQueueInformation retrieveDueQueue(int limit, int page) throws IOException, ApiException;
QueueInformation getPlayerQueue(int id) throws IOException, ApiException;
void deleteCommand(List<Integer> ids) throws IOException, ApiException;
CheckoutUrlResponse getCheckoutUri(String username, int packageId) throws IOException, ApiException;
List<RecentPayment> getRecentPayments(int limit) throws IOException, ApiException;
List<Coupon> getAllCoupons() throws IOException, ApiException;
Coupon getCoupon(int id) throws IOException, ApiException;
void deleteCoupon(int id) throws IOException, ApiException;
Coupon createCoupon(Coupon coupon) throws IOException, ApiException;
}