Skip to content

ElectronInAppPurchase.getProducts method

ElectronInAppPurchase › getProducts

Unofficial

Retrieves the product descriptions.

Signature:

getProducts(productIDs: string[]): Promise<ElectronProduct[]>

Parameters:

Parameter Type Description
productIDs string[] The identifiers of the products to retrieve.

Returns: Promise<ElectronProduct[]>A promise that resolves with an array of ElectronProduct objects.