/*
 * Retailer: This class models information for a company that is a
 *  retail seller of sand.  Consumers purchase directly from a retailer.
 *  Retailers order their sand from a Supplier.  This retailer class
 *  keeps track of information about the retailer's name, amount of
 *  money, sand, and the cost of the sand.  It also contains info
 *  about this retailer's supplier.
 */

class Retailer {

	/* Instance variables - fill these in */

	                           // name of this retailer
	                           // money in dollars
	                           // amount of sand in kg
	                           // retail cost of sand in dollars per kg
	                           // refers to this retailer's supplier

	/*
	 * Retailer constructor: create a new retailer object that has name
	 *  'name', amount of money in dollars 'money', amount of sand in kg
	 *  'sand', and retail cost of sand in dollars per kg 'cost'.
	 */
	public Retailer (        ) {
		
		
	}

	/*
	 * Retailer constructor: create a new retailer object that has name
	 *  'name', amount of money 'money', and retail cost of sand in dollars
	 *  per kg 'cost'.  This retailer doesn't have sand to begin with.
	 */
	public Retailer (        ) {
		
		
	}

	/*
	 * setSupplier: set this retailer's supplier so that it refers
	 *  to the 'newSupplier' passed to this method.
	 */
	public        setSupplier (        ) {
		
		
	}

	/*
	 * canSell: return true if this retailer has enough sand in stock to
	 *  allow the sale of 'newSand' kg of sand, otherwise return false.
	 */
	public        canSell (        ) {
		
		
	}

	/*
	 * sale: this method simulates the sale of 'amount' kg of sand to a
	 *  consumer, at the current retail cost of the sand.  The retailer
	 *	makes money in exchange for the sand that is sold.  This method
	 *	returns the cost of the sand that is purchased in this sale.
	 *  Note: It can be assumed that this method would only be called
	 *  after the 'canSell()' method has been called to verify that
	 *  this retailer has enough sand available.
	 */
	public        sale (        ) {
		
		
	}

	/*
	 * canRestock: return true if this retailer has enough money to
	 *  order a restock of 'newSand' kg of sand, otherwise return false.
	 */
	public        canRestock (        ) {
		
		
	}

	/*
	 * restock: this retailer calls on its supplier to restock its sand
	 *  supply by 'amount' kg of sand.  The cost of this sand is returned
	 *  by the supplier, and used to update this retailer's current
	 *  amount of money.
	 *  Note: it can be assumed that this method would only be called
	 *  after the 'canRestock()' method has been called to verify that
	 *  the retailer has enough money to purchase this amount of sand.
	 */
	public        restock (        ) {
		
		
	}

	/*
	 * totalSand: return the total amount of sand that this company
	 *  could offer to its consumers.  This is the total of the amount
	 *  of sand that this retailer has added to the amount of sand
	 *  that this retailer's supplier has.
	 */
	private        totalSand () {
		
		
	}

	/*
	 * summary: this method returns a String that contains all summary
	 *  information about this retailer.  This String should contain
	 * 	this retailer's name, their amount of money, their amount of
	 *  sand, and cost of the sand.  It must also contain all info
	 *  about their supplier.  Finally, it must also contain the total
	 *  amount of the sand that this retailer and its supplier has.
	 */
	public        summary () {
		
		
	}
}
