public interface Purchasing
Modifier and Type | Method and Description |
---|---|
double |
checkout(String email,
String password)
Completes the purchase of the items in the user's shopping cart,
empties the cart, and returns the total cost paid.
Note that this capability is not yet fully defined.
|
Account |
createAccount(String email,
String firstName,
String lastName)
Creates an account for the user to use in purchasing products.
|
Copyright © 2015 John's Hopkins University, Engineering Programs for Professionals. All rights reserved.