diff options
Diffstat (limited to 'Week16 Webshop/src/com/camilstaps/webshop/payment/PaymentMethod.java')
-rw-r--r-- | Week16 Webshop/src/com/camilstaps/webshop/payment/PaymentMethod.java | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Week16 Webshop/src/com/camilstaps/webshop/payment/PaymentMethod.java b/Week16 Webshop/src/com/camilstaps/webshop/payment/PaymentMethod.java new file mode 100644 index 0000000..966fcf2 --- /dev/null +++ b/Week16 Webshop/src/com/camilstaps/webshop/payment/PaymentMethod.java @@ -0,0 +1,14 @@ +/* + * Copyright (c) 2015 Camil Staps + */ +package com.camilstaps.webshop.payment; + +/** + * + * @author camilstaps + */ +public interface PaymentMethod { + + boolean pay(double amount); + +} |