SudoSOS Back-end API / reports / InactiveAdministrativeCostReport
Class: InactiveAdministrativeCostReport ​
Extends ​
UnstoredPdfAbleClass<typeofIInactiveAdministrativeCostReport,this> &IInactiveAdministrativeCostReport<this>
Constructors ​
Constructor ​
ts
new InactiveAdministrativeCostReport(init?): InactiveAdministrativeCostReport;Parameters ​
| Parameter | Type |
|---|---|
init? | Partial<IInactiveAdministrativeCostReport> |
Returns ​
InactiveAdministrativeCostReport
Inherited from ​
ts
UnstoredPdfAble(IInactiveAdministrativeCostReport).constructorProperties ​
| Property | Type | Description | Overrides | Inherited from |
|---|---|---|---|---|
count | number | - | - | UnstoredPdfAble(IInactiveAdministrativeCostReport).count |
fromDate | Date | - | - | UnstoredPdfAble(IInactiveAdministrativeCostReport).fromDate |
pdfService | InactiveAdministrativeCostReportPdfService | The service that creates the Pdf buffer. Can be either a LaTeX-based service (UnstoredPdfService) or HTML-based service (HtmlUnstoredPdfService). | UnstoredPdfAble(IInactiveAdministrativeCostReport).pdfService | - |
toDate | Date | - | - | UnstoredPdfAble(IInactiveAdministrativeCostReport).toDate |
totalAmountExclVat | Dinero | - | - | UnstoredPdfAble(IInactiveAdministrativeCostReport).totalAmountExclVat |
totalAmountInclVat | Dinero | - | - | UnstoredPdfAble(IInactiveAdministrativeCostReport).totalAmountInclVat |
vatAmount | Dinero | - | - | UnstoredPdfAble(IInactiveAdministrativeCostReport).vatAmount |
vatPercentage | number | - | - | UnstoredPdfAble(IInactiveAdministrativeCostReport).vatPercentage |
Methods ​
createPdf() ​
ts
createPdf(): Promise<Buffer<ArrayBufferLike>>;Create the Pdf buffer. This method generates the PDF and returns it as a Buffer.
Returns ​
Promise<Buffer<ArrayBufferLike>>
Inherited from ​
ts
UnstoredPdfAble(IInactiveAdministrativeCostReport).createPdfcreateRaw() ​
ts
createRaw(): Promise<Buffer<ArrayBufferLike>>;Returns ​
Promise<Buffer<ArrayBufferLike>>
Inherited from ​
ts
UnstoredPdfAble(IInactiveAdministrativeCostReport).createRawcreateTex() ​
ts
createTex(): Promise<Buffer<ArrayBufferLike>>;Returns ​
Promise<Buffer<ArrayBufferLike>>
Deprecated ​
Use createRaw() instead
Inherited from ​
ts
UnstoredPdfAble(IInactiveAdministrativeCostReport).createTexgetPdfParamHash() ​
ts
getPdfParamHash(): Promise<string>;Returns ​
Promise<string>
Inherited from ​
ts
UnstoredPdfAble(IInactiveAdministrativeCostReport).getPdfParamHashtoResponse() ​
ts
toResponse(): InactiveAdministrativeCostReportResponse;