Created
March 6, 2012 19:15
-
-
Save sandromancuso/1988369 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class StandardPricingService extends VoucherPrincingService { | |
private final StandardPriceCalculation standardPriceCalculation = new StandardPriceCalculation(); | |
@Override | |
protected double calculateProductPrice(Product product, int quantity) { | |
return standardPriceCalculation.calculateProductPrice(product, quantity); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment