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

org.oxerr.viagogo.client.sale.SaleService Maven / Gradle / Ivy

There is a newer version: 6.5.1
Show newest version
package org.oxerr.viagogo.client.sale;

import java.io.IOException;
import java.time.Instant;
import java.util.Optional;

import javax.annotation.Nonnull;
import javax.annotation.Nullable;

import org.oxerr.viagogo.model.request.sale.SaleRequest;
import org.oxerr.viagogo.model.response.PagedResource;
import org.oxerr.viagogo.model.response.sale.Sale;

public interface SaleService {

	PagedResource getSalesRecentUpdates(@Nullable Instant updatedSince) throws IOException;

	PagedResource getSales(@Nonnull SaleRequest saleRequest) throws IOException;

	Optional getSale(@Nonnull Integer saleId) throws IOException;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy