this.order = o; this.id.orderNumber = o.getId().getOrderNumber(); this.id.customerId = o.getId().getCustomerId(); this.id.productId = p.getProductId(); o.getLineItems().add(this);
returnReturns the id. return id;
return id;
returnReturns the order. return order;
return order;
returnReturns the product. return product;
return product;
returnReturns the quantity. return quantity;
return quantity;
paramid The id to set. this.id = id;
this.id = id;
paramorder The order to set. this.order = order;
this.order = order;
paramproduct The product to set. this.product = product;
this.product = product;
paramquantity The quantity to set. this.quantity = quantity;
this.quantity = quantity;