@Test public void getAmountTest() { OrderAmount orderAmount = order.Amount(); assertNotNull(order.Amount()); assertEquals(orderAmount, order.Amount()); }
public OrderAmount Amount() { if (orderAmount == null) { orderAmount = new OrderAmount(this); } return orderAmount; }
Order extends BusinessObject { public OrderAmount Amount() { if (orderAmount == null) { orderAmount = new OrderAmount(this); } return orderAmount; } }
Order extends BusinessObject { public OrderAmount Amount() { if (orderAmount == null) { orderAmount = new OrderAmount(this); } return orderAmount; } Order(Tracker tracker); }
Order extends BusinessObject { public OrderAmount Amount() { if (orderAmount == null) { orderAmount = new OrderAmount(this); } return orderAmount; } Order(Tracker tracker); OrderDiscount Discount(); OrderAmount Amount(); OrderDelivery Delivery(); OrderCustomVars CustomVars(); String getOrderId(); double getTurnover(); int getStatus(); boolean isNewCustomer(); int getPaymentMethod(); boolean isConfirmationRequired(); Order setOrderId(String orderId); Order setTurnover(double turnover); Order setStatus(int status); Order setNewCustomer(boolean newCustomer); Order setPaymentMethod(int paymentMethod); Order setConfirmationRequired(boolean confirmationRequired); }
Order extends BusinessObject { public OrderAmount Amount() { if (orderAmount == null) { orderAmount = new OrderAmount(this); } return orderAmount; } Order(Tracker tracker); OrderDiscount Discount(); OrderAmount Amount(); OrderDelivery Delivery(); OrderCustomVars CustomVars(); String getOrderId(); double getTurnover(); int getStatus(); boolean isNewCustomer(); int getPaymentMethod(); boolean isConfirmationRequired(); Order setOrderId(String orderId); Order setTurnover(double turnover); Order setStatus(int status); Order setNewCustomer(boolean newCustomer); Order setPaymentMethod(int paymentMethod); Order setConfirmationRequired(boolean confirmationRequired);  }