mindee
Version:
Mindee Client Library for Node.js
37 lines (36 loc) • 1.08 kB
TypeScript
import { StringDict } from "../../../parsing/common";
import { Polygon } from "../../../geometry";
/**
* Detailed information about the earnings.
*/
export declare class PayslipV3SalaryDetail {
#private;
/** The amount of the earning. */
amount: number | null;
/** The base rate value of the earning. */
base: number | null;
/** The description of the earnings. */
description: string | null;
/** The number of units in the earning. */
number: number | null;
/** The rate of the earning. */
rate: number | null;
/** Confidence score */
confidence: number;
/** The document page on which the information was found. */
pageId: number;
/**
* Contains the relative vertices coordinates (points) of a polygon containing
* the field in the document.
*/
polygon: Polygon;
constructor({ prediction }: StringDict);
/**
* Default string representation.
*/
toString(): string;
/**
* Output in a format suitable for inclusion in an rST table.
*/
toTableLine(): string;
}