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

Class: Invoice

​rest/payment.Invoice

Hierarchy

  • yInvoice
    ↳ Invoice

Table of contents

Constructors

Properties

Methods

Constructors

constructor

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

Properties

_api

• Private _api: RequestorApi
Defined in

activityIds

• Optional activityIds: string[]
Inherited from
yInvoice.activityIds
Defined in

agreementId

• agreementId: string
Inherited from
yInvoice.agreementId
Defined in

amount

• amount: string
Inherited from
yInvoice.amount
Defined in

invoiceId

• invoiceId: string
Inherited from
yInvoice.invoiceId
Defined in

issuerId

• issuerId: string
Inherited from
yInvoice.issuerId
Defined in

lastDebitNoteId

• Optional lastDebitNoteId: string
Inherited from
yInvoice.lastDebitNoteId
Defined in

payeeAddr

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

payerAddr

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

paymentDueDate

• paymentDueDate: string
Inherited from
yInvoice.paymentDueDate
Defined in

paymentPlatform

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

recipientId

• recipientId: string
Inherited from
yInvoice.recipientId
Defined in

status

• status: InvoiceStatus
Inherited from
yInvoice.status
Defined in

timestamp

• timestamp: string
Inherited from
yInvoice.timestamp
Defined in

Methods

accept

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