stack

Home > @infiniteobjects/models > PrintButtonSaleRepository > findSimilarSale

PrintButtonSaleRepository.findSimilarSale() method

Finds a sale that is similar than the provided one

Signature:

findSimilarSale(sale: PrintButtonSaleModel): Promise<PrintButtonSaleModel | null>;

Parameters

Parameter Type Description
sale PrintButtonSaleModel  

Returns:

Promise<PrintButtonSaleModel | null>

Remarks

Used to not create the same sale record