G
G
Golem SDK
Search…
yapapi - Python high-level API
yajsapi - JavaScript high-level API
Classes
Yagna Contributor Guide
Class: DebitNote
​yajsapi / Exports / rest/payment / DebitNote

Class: DebitNote

​rest/payment.DebitNote

Hierarchy

  • yDebitNote
    ↳ DebitNote

Table of contents

Constructors

Properties

Methods

Constructors

constructor

• new DebitNote(_api, _base)
Parameters
Name
Type
_api
RequestorApi
_base
DebitNote
Overrides
yDebitNote.constructor
Defined in

Properties

_api

• Private _api: RequestorApi
Defined in

activityId

• activityId: string
Inherited from
yDebitNote.activityId
Defined in

agreementId

• agreementId: string
Inherited from
yDebitNote.agreementId
Defined in

debitNoteId

• debitNoteId: string
Inherited from
yDebitNote.debitNoteId
Defined in

issuerId

• issuerId: string
Inherited from
yDebitNote.issuerId
Defined in

payeeAddr

• Optional payeeAddr: string
Inherited from
yDebitNote.payeeAddr
Defined in

payerAddr

• Optional payerAddr: string
Inherited from
yDebitNote.payerAddr
Defined in

paymentDueDate

• Optional paymentDueDate: string
Inherited from
yDebitNote.paymentDueDate
Defined in

paymentPlatform

• Optional paymentPlatform: string
Inherited from
yDebitNote.paymentPlatform
Defined in

previousDebitNoteId

• Optional previousDebitNoteId: string
Inherited from
yDebitNote.previousDebitNoteId
Defined in

recipientId

• recipientId: string
Inherited from
yDebitNote.recipientId
Defined in

status

• status: InvoiceStatus
Inherited from
yDebitNote.status
Defined in

timestamp

• timestamp: string
Inherited from
yDebitNote.timestamp
Defined in

totalAmountDue

• totalAmountDue: string
Inherited from
yDebitNote.totalAmountDue
Defined in

usageCounterVector

• Optional usageCounterVector: object
Inherited from
yDebitNote.usageCounterVector
Defined in

Methods

accept

â–¸ accept(amount, allocation): Promise
Parameters
Name
Type
amount
string | number
allocation
​Allocation​
Returns
Promise
Defined in