yajsapi - JavaScript high-level API
Yagna Contributor Guide

Class: Allocation

yajsapi / Exports / rest/payment / Allocation

Class: Allocation

rest/payment.Allocation

Hierarchy

  • \_Link

    Allocation

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new Allocation()

Inherited from

_Link.constructor

Properties

_api

_api: RequestorApi

Inherited from

_Link._api

Defined in

yajsapi/rest/payment.ts:94

amount

amount: number

Defined in

yajsapi/rest/payment.ts:108

expires

Optional expires: Date

Defined in

yajsapi/rest/payment.ts:117

id

id: string

Defined in

yajsapi/rest/payment.ts:105

payment_address

Optional payment_address: string

Defined in

yajsapi/rest/payment.ts:114

payment_platform

Optional payment_platform: string

Defined in

yajsapi/rest/payment.ts:111

Methods

delete

delete(): Promise

Returns

Promise

Defined in

yajsapi/rest/payment.ts:132

details

details(): Promise

Returns

Promise

Defined in

yajsapi/rest/payment.ts:120