toInput method

PurchaseInput toInput()

Implementation

gentype.PurchaseInput toInput() {
  // PurchaseInput is now just a typedef for Purchase, so return this directly
  return this;
}