@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 findOffer
Integer getQuantity(Integer offerId)
offerId
- offer idCopyright © 2020 City of Paris. All rights reserved.