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

NameType
paymentClientRequestorService
marketClientRequestorService

Returns

InvoiceRepository

Defined in

src/shared/yagna/repository/invoice-repository.ts:8

Methods

getById

getById(id): Promise<Invoice>

Parameters

NameType
idstring

Returns

Promise<Invoice>

Implementation of

IInvoiceRepository.getById

Defined in

src/shared/yagna/repository/invoice-repository.ts:13

Was this helpful?