public interface IPurchaseRules
Modifier and Type | Method and Description |
---|---|
void |
checkBeforePurchase(IPurchaseDTO purchase,
String sessionId)
Called before to save the purchase.
|
void checkBeforePurchase(IPurchaseDTO purchase, String sessionId) throws PurchaseException
purchase
- the purchasesessionId
- the session idPurchaseException
- the purchase exceptionCopyright © 2020 City of Paris. All rights reserved.