@Transactional public class PurchaseRules extends Object implements IPurchaseRules
| Constructor and Description |
|---|
PurchaseRules() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkBeforePurchase(IPurchaseDTO purchase,
String sessionId)
Called before to save the purchase.
|
public void checkBeforePurchase(IPurchaseDTO purchase, String sessionId) throws PurchaseOutOfStock, PurchaseSessionExpired
checkBeforePurchase in interface IPurchaseRulespurchase - the purchasesessionId - the session idPurchaseOutOfStockPurchaseSessionExpiredCopyright © 2023 City of Paris. All rights reserved.