JS API Reference
Class: InvoiceRepository
shared/yagna/repository/invoice-repository.InvoiceRepository
Implements
Table of contents
Constructors
Methods
Constructors
constructor
• new InvoiceRepository(paymentClient
, marketClient
): InvoiceRepository
Parameters
Name | Type |
---|---|
paymentClient | RequestorService |
marketClient | RequestorService |
Returns
Defined in
src/shared/yagna/repository/invoice-repository.ts:8
Methods
getById
▸ getById(id
): Promise
<Invoice
>
Parameters
Name | Type |
---|---|
id | string |
Returns
Promise
<Invoice
>
Implementation of
Defined in
Was this helpful?