@Override
  public void toData(PdxWriter writer) {
    writer.writeLong("itemNo", itemNo);
    writer.writeString("description", description);
    writer.writeInt("quantity", quantity);
    writer.writeFloat("unitPrice", unitPrice);
    writer.writeFloat("totalPrice", totalPrice);
  }
The Item class models item entity in the real world.
<p>

@since GemFire 8.0
geode-assembly/geode-assembly-test/src/main/java/org/apache/geode/rest/internal/web/controllers/Item.java