JS API Reference
Class: DebitNoteRepository
shared/yagna/repository/debit-note-repository.DebitNoteRepository
Implements
Table of contents
Constructors
Methods
Constructors
constructor
• new DebitNoteRepository(paymentClient
, marketClient
): DebitNoteRepository
Parameters
Name | Type |
---|---|
paymentClient | RequestorService |
marketClient | RequestorService |
Returns
Defined in
src/shared/yagna/repository/debit-note-repository.ts:8
Methods
getById
▸ getById(id
): Promise
<DebitNote
>
Parameters
Name | Type |
---|---|
id | string |
Returns
Promise
<DebitNote
>