public interface DiscountDao
| Modifier and Type | Method and Description |
|---|---|
java.util.List<DiscountModel> |
findDiscountsByCode(java.lang.String code)
Finds the
DiscountModel with the specified code. |
java.util.Collection<DiscountModel> |
findDiscountsByCurrencyIsoCode(java.lang.String currencyIsoCode)
Finds all
DiscountModels which match the specified currency. |
java.util.Collection<DiscountModel> |
findDiscountsByMatchedCode(java.lang.String matchedCode)
Finds all
DiscountModels which match the specified code. |
java.util.List<DiscountModel> findDiscountsByCode(java.lang.String code)
DiscountModel with the specified code.code - the discount codeDiscountModels with the specified codejava.util.Collection<DiscountModel> findDiscountsByMatchedCode(java.lang.String matchedCode)
DiscountModels which match the specified code.matchedCode - an SQL-Like statement as String, such as %discountCode%Collection of all DiscountModels which match the specified codejava.util.Collection<DiscountModel> findDiscountsByCurrencyIsoCode(java.lang.String currencyIsoCode)
DiscountModels which match the specified currency.currencyIsoCode - isoCode of the matching currencyCollection of all DiscountModels with the specified currency.java.lang.IllegalArgumentException - if currency is nullCopyright © 2018 SAP SE. All Rights Reserved.