JS API Reference
Module: payment/agreement_payment_process
Table of contents
Classes
Interfaces
Type Aliases
Type Aliases
DebitNoteFilter
Ƭ DebitNoteFilter: (debitNote: DebitNote, context: { agreement: Agreement ; allocation: Allocation ; demand: Demand }) => Promise<boolean> | boolean
Type declaration
▸ (debitNote, context): Promise<boolean> | boolean
Parameters
| Name | Type |
|---|---|
debitNote | DebitNote |
context | Object |
context.agreement | Agreement |
context.allocation | Allocation |
context.demand | Demand |
Returns
Promise<boolean> | boolean
Defined in
src/payment/agreement_payment_process.ts:15
InvoiceFilter
Ƭ InvoiceFilter: (invoice: Invoice, context: { agreement: Agreement ; allocation: Allocation ; demand: Demand }) => Promise<boolean> | boolean
Type declaration
▸ (invoice, context): Promise<boolean> | boolean
Parameters
| Name | Type |
|---|---|
invoice | Invoice |
context | Object |
context.agreement | Agreement |
context.allocation | Allocation |
context.demand | Demand |
Returns
Promise<boolean> | boolean