feat: add endpoints to retrieving the default mail options

This commit is contained in:
Ahmed Bouhuolia
2023-12-25 18:21:02 +02:00
parent 657400c671
commit 3c8c3d8253
8 changed files with 181 additions and 0 deletions

View File

@@ -198,6 +198,19 @@ export class PaymentReceivesApplication {
);
}
/**
* Retrieves the default mail options of the given payment transaction.
* @param {number} tenantId
* @param {number} paymentReceiveId
* @returns {Promise<void>}
*/
public getPaymentDefaultMail(tenantId: number, paymentReceiveId: number) {
return this.paymentMailNotify.getDefaultMailOpts(
tenantId,
paymentReceiveId
);
}
/**
* Retrieve pdf content of the given payment receive.
* @param {number} tenantId