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

Returns: Allocation

Properties

_api

_api: RequestorApi

Defined in: yajsapi/rest/payment.ts:89

amount

amount: number

Defined in: yajsapi/rest/payment.ts:103

expires

Optional expires: undefined | Date

Defined in: yajsapi/rest/payment.ts:112

id

id: string

Defined in: yajsapi/rest/payment.ts:100

payment_address

Optional payment_address: undefined | string

Defined in: yajsapi/rest/payment.ts:109

payment_platform

Optional payment_platform: undefined | string

Defined in: yajsapi/rest/payment.ts:106

Methods

delete

delete(): Promise<void>

Returns: Promise<void>

Defined in: yajsapi/rest/payment.ts:132

details

details(): Promise<AllocationDetails>

Returns: Promise<AllocationDetails>

Defined in: yajsapi/rest/payment.ts:115