FileDocCategorySizeDatePackage
Order.javaAPI DocExample1666Wed Feb 27 10:13:42 GMT 2002javajaxb.po

Order

public class Order extends Object

Fields Summary
protected int
id
protected String
sku
protected String
productName
protected String
manufacturerName
protected float
purchasePrice
protected Stock
stock
Constructors Summary
public Order()

    
public Order(int id, String sku, String productName, String manufacturerName, float purchasePrice, Stock stock)
full constructor

        this.id = id;
        this.sku = sku;
        this.productName = productName;
        this.manufacturerName = manufacturerName;
        this.purchasePrice = purchasePrice;
        this.stock = stock;
    
Methods Summary
public intgetId()

        return(id);
    
public java.lang.StringgetManufacturerName()

        return(manufacturerName);
    
public java.lang.StringgetProductName()

        return(productName);
    
public floatgetPurchasePrice()

        return(purchasePrice);
    
public java.lang.StringgetSku()

        return(sku);
    
public StockgetStock()

        return(stock);
    
public voidsetId(int id)

        this.id = id;
    
public voidsetManufacturerName(java.lang.String manufacturerName)

        this.manufacturerName = manufacturerName;
    
public voidsetProductName(java.lang.String productName)

        this.productName = productName;
    
public voidsetPurchasePrice(float purchasePrice)

        this.purchasePrice = purchasePrice;
    
public voidsetSku(java.lang.String sku)

        this.sku = sku;
    
public voidsetStock(Stock stock)

        this.stock = stock;