stack

Home > @infiniteobjects/models > PrintButtonSaleRepository > sendWebhooks

PrintButtonSaleRepository.sendWebhooks() method

Sends the Pub/Sub events for the given Sale

Signature:

sendWebhooks(sale: PrintButtonSaleModel, platform: IPrintButtonPlatformConfig, force?: boolean): Promise<PrintButtonSaleModel>;

Parameters

Parameter Type Description
sale PrintButtonSaleModel  
platform IPrintButtonPlatformConfig  
force boolean (Optional)

Returns:

Promise<PrintButtonSaleModel>