aboutsummaryrefslogtreecommitdiff
path: root/Week16 Webshop/src/com/camilstaps/webshop/article
diff options
context:
space:
mode:
Diffstat (limited to 'Week16 Webshop/src/com/camilstaps/webshop/article')
-rw-r--r--Week16 Webshop/src/com/camilstaps/webshop/article/Article.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/Week16 Webshop/src/com/camilstaps/webshop/article/Article.java b/Week16 Webshop/src/com/camilstaps/webshop/article/Article.java
index 911adcf..d34d336 100644
--- a/Week16 Webshop/src/com/camilstaps/webshop/article/Article.java
+++ b/Week16 Webshop/src/com/camilstaps/webshop/article/Article.java
@@ -46,6 +46,11 @@ public abstract class Article {
return price;
}
+ /**
+ * Get the additional sum a customer has to pay if he wishes to have the
+ * article delivered home.
+ * @return
+ */
public abstract double getShippingCosts();
}