Created
June 12, 2019 09:45
-
-
Save ellehallal/6d4a4a33cc00dae24a3e73f574d76da8 to your computer and use it in GitHub Desktop.
This file contains 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 OnlinePurchase extends PurchaseProcessTemplate { | |
@Override | |
public void doSelectItems() { | |
System.out.println("The customer selects items and adds them to a shopping basket."); | |
} | |
@Override | |
public void doPurchaseItems() { | |
System.out.println("The customer adds their delivery address and card details when checking out."); | |
} | |
@Override | |
public void doDeliverItems() { | |
System.out.println("Ship the items with a courier to the customer's address"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment