Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.gof.behavioral.chainofresponsibility.handler;
- import javax.money.MonetaryAmount;
- /**
- * The interface Chain discount.
- */
- @FunctionalInterface
- public interface ChainDiscount {
- /**
- * Handle request monetary amount.
- *
- * @return the monetary amount
- */
- MonetaryAmount handleRequest();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement