aboutsummaryrefslogtreecommitdiff
path: root/Week16 Webshop/src/com/camilstaps/webshop/article/Article.java
diff options
context:
space:
mode:
authorCamil Staps2015-06-11 16:24:00 +0200
committerCamil Staps2015-06-11 16:29:00 +0200
commitd8c0b09be3863ee9f434b26346e6e24089bcea80 (patch)
treebe6ad30eb3576aa0c92d85315455e06213600b20 /Week16 Webshop/src/com/camilstaps/webshop/article/Article.java
parentUML diagram w16b (diff)
Wrapping up w16
Diffstat (limited to 'Week16 Webshop/src/com/camilstaps/webshop/article/Article.java')
-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();
}