@Transactional
public interface IOfferService
| Modifier and Type | Method and Description |
|---|---|
Offer |
findById(Integer offerId)
Returns offer
|
List<Offer> |
findByProduct(Integer productId)
List all offers for a product
|
Integer |
getQuantity(Integer offerId)
Return available quantity of offer
|
List<Offer> findByProduct(Integer productId)
productId - product to findOfferInteger getQuantity(Integer offerId)
offerId - offer idCopyright © 2019 City of Paris. All rights reserved.