@Override public String toString() { return "OrderLineWS{" + "id=" + id + ", amount='" + amount + '\'' + ", quantity='" + quantity + '\'' + ", price='" + price + '\'' + ", deleted=" + deleted + ", description='" + description + '\'' + ", useItem=" + useItem + ", isPercentage=" + isPercentage + ", itemId=" + itemId + ", typeId=" + typeId + ", parentLineId=" + (parentLine != null ? parentLine.getId() : null) + ", metaFields=" + ((metaFields == null) ? "null" : Arrays.asList(metaFields)) + '}'; }