restorecommerce-pdf-rendering-srv
- Description:
Elevate your documentation with our PDF Rendering Service. Turn any URL into a PDF effortlessly. Ideal for business reports and archives. Join the future of document management today.
- Copyright:
- 2025 Eyevinn Technology AB
- See:
-
- Online docs for further information
Methods
(async, static) createRestorecommercePdfRenderingSrvInstance(context, body) → {RestorecommercePdfRenderingSrv}
- Description:
Create a new PDF Rendering Service instance
Example
import { Context } from '@osaas/client-core';
import { createRestorecommercePdfRenderingSrvInstance } from '@osaas/client-services';
const ctx = new Context();
const body: RestorecommercePdfRenderingSrvConfig = { name: 'myinstance', ... };
const instance = await createRestorecommercePdfRenderingSrvInstance(ctx, body);
console.log(instance.url);
Parameters:
Name | Type | Description |
---|---|---|
context |
Context | Open Source Cloud configuration context |
body |
RestorecommercePdfRenderingSrvConfig | Service instance configuration |
Returns:
- Service instance
(async, static) getRestorecommercePdfRenderingSrvInstance(context, name) → {RestorecommercePdfRenderingSrv}
- Description:
Get a PDF Rendering Service instance
Example
import { Context } from '@osaas/client-core';
import { getRestorecommercePdfRenderingSrvInstance } from '@osaas/client-services';
const ctx = new Context();
const instance = await getRestorecommercePdfRenderingSrvInstance(ctx, 'myinstance');
console.log(instance.url);
Parameters:
Name | Type | Description |
---|---|---|
context |
Context | Open Source Cloud configuration context |
name |
string | Name of the pdf-rendering-srv to be retrieved |
Returns:
- Service instance
(async, static) removeRestorecommercePdfRenderingSrvInstance(context, name)
- Description:
Remove a PDF Rendering Service instance
Parameters:
Name | Type | Description |
---|---|---|
context |
Context | Open Source Cloud configuration context |
name |
string | Name of the pdf-rendering-srv to be removed |