Class SaleServiceImpl
java.lang.Object
org.oxerr.viagogo.client.rescu.impl.sale.SaleServiceImpl
- All Implemented Interfaces:
org.oxerr.viagogo.client.sale.SaleService
-
Constructor Summary
ConstructorDescriptionSaleServiceImpl
(org.oxerr.viagogo.client.rescu.resource.sale.SaleResource saleResource) -
Method Summary
Modifier and TypeMethodDescriptionOptional<org.oxerr.viagogo.model.response.sale.Sale>
org.oxerr.viagogo.model.response.PagedResource<org.oxerr.viagogo.model.response.sale.Sale>
getSales
(org.oxerr.viagogo.model.request.sale.SaleRequest saleRequest) org.oxerr.viagogo.model.response.PagedResource<org.oxerr.viagogo.model.response.sale.Sale>
getSalesRecentUpdates
(Instant updatedSince)
-
Constructor Details
-
SaleServiceImpl
public SaleServiceImpl(org.oxerr.viagogo.client.rescu.resource.sale.SaleResource saleResource)
-
-
Method Details
-
getSalesRecentUpdates
public org.oxerr.viagogo.model.response.PagedResource<org.oxerr.viagogo.model.response.sale.Sale> getSalesRecentUpdates(Instant updatedSince) throws IOException - Specified by:
getSalesRecentUpdates
in interfaceorg.oxerr.viagogo.client.sale.SaleService
- Throws:
IOException
-
getSales
public org.oxerr.viagogo.model.response.PagedResource<org.oxerr.viagogo.model.response.sale.Sale> getSales(org.oxerr.viagogo.model.request.sale.SaleRequest saleRequest) throws IOException - Specified by:
getSales
in interfaceorg.oxerr.viagogo.client.sale.SaleService
- Throws:
IOException
-
getSale
public Optional<org.oxerr.viagogo.model.response.sale.Sale> getSale(Integer saleId) throws IOException - Specified by:
getSale
in interfaceorg.oxerr.viagogo.client.sale.SaleService
- Throws:
IOException
-