G
G
Golem SDK
Search…
yapapi - Python high-level API
yajsapi - JavaScript high-level API
Yagna Contributor Guide
Powered By GitBook
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
Returns
Promise
Defined in
Last modified 6d ago