Skip to main content

Class: ProductWorkflow

Represents a the relationship between a workflow and a product.

Constructors​

Constructor​

new ProductWorkflow(workflow): ProductWorkflow

Parameters​

workflow​

ProductWorkflow

Returns​

ProductWorkflow

Methods​

getId()​

getId(): string

Returns​

string

The ID of this workflow, to be used when starting an experience.


getName()​

getName(): string

Returns​

string

The name of the workflow.


getThumbnail()​

getThumbnail(resolution?, quality?): string | undefined

An image to be used to display this workflow in a UI to the customer.

Parameters​

resolution?​

number = 128

quality?​

number

Returns​

string | undefined

A resource URL.