FileDocCategorySizeDatePackage
Purchase.javaAPI DocExample2169Sun Dec 14 22:47:40 GMT 2003oreilly.hcj.bankdata.dbms

Purchase

public class Purchase extends Object
A customer's purchase.
author
Robert (Kraythe) Simmons jr.

Fields Summary
private Customer
customer
The customer making the purchase.
private Float
pricePaid
The price paid.
private Integer
purchaseID
The purchase ID.
private String
itemSKU
The SKU of the item purchased.
Constructors Summary
Methods Summary
public CustomergetCustomer()
Getter for customer.

return
Returns the customer.

		return customer;
	
public java.lang.StringgetItemSKU()
Getter for itemSKU.

return
Returns the itemSKU.

		return itemSKU;
	
public java.lang.FloatgetPricePaid()
Getter for pricePaid.

return
Returns the pricePaid.

		return pricePaid;
	
public java.lang.IntegergetPurchaseID()
Getter for purchaseID.

return
Returns the purchaseID.

		return purchaseID;
	
public voidsetCustomer(Customer customer)
Setter for customer.

param
customer The customer to set.

		this.customer = customer;
	
public voidsetItemSKU(java.lang.String itemSKU)
Setter for itemSKU.

param
itemSKU The itemSKU to set.

		this.itemSKU = itemSKU;
	
public voidsetPricePaid(java.lang.Float pricePaid)
Setter for pricePaid.

param
pricePaid The pricePaid to set.

		this.pricePaid = pricePaid;
	
public voidsetPurchaseID(java.lang.Integer purchaseID)
Setter for purchaseID.

param
purchaseID The purchaseID to set.

		this.purchaseID = purchaseID;