• ------------------------------
  • 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

    NameType
    paymentClientRequestorService
    marketClientRequestorService

    Returns

    DebitNoteRepository

    Defined in

    src/shared/yagna/repository/debit-note-repository.ts:8

    Methods

    getById

    getById(id): Promise<DebitNote>

    Parameters

    NameType
    idstring

    Returns

    Promise<DebitNote>

    Implementation of

    IDebitNoteRepository.getById

    Defined in

    src/shared/yagna/repository/debit-note-repository.ts:13