LineItemPage: {
    lineItems: LineItem[];
    next?: (() => Promise<LineItemPage>);
}

lineItems contains the records in a page limited by limit input, for retrieving next page, you can use next

  • lineItems - Array of line items records
  • next - the Promise for retrieving the records in the next page, will be undefined if you are at the last page