Skip to main content

Class: PaymentInfo

Defined in: WAProto/index.d.ts:8765

Implements

Constructors

new PaymentInfo()

new PaymentInfo(p?): PaymentInfo

Defined in: WAProto/index.d.ts:8766

Parameters

p?

IPaymentInfo

Returns

PaymentInfo

Properties

amount1000?

optional amount1000: null | number | Long

Defined in: WAProto/index.d.ts:8768

Implementation of

IPaymentInfo.amount1000


currency?

optional currency: null | string

Defined in: WAProto/index.d.ts:8775

Implementation of

IPaymentInfo.currency


currencyDeprecated?

optional currencyDeprecated: null | Currency

Defined in: WAProto/index.d.ts:8767

Implementation of

IPaymentInfo.currencyDeprecated


exchangeAmount?

optional exchangeAmount: null | IMoney

Defined in: WAProto/index.d.ts:8779

Implementation of

IPaymentInfo.exchangeAmount


expiryTimestamp?

optional expiryTimestamp: null | number | Long

Defined in: WAProto/index.d.ts:8773

Implementation of

IPaymentInfo.expiryTimestamp


futureproofed?

optional futureproofed: null | boolean

Defined in: WAProto/index.d.ts:8774

Implementation of

IPaymentInfo.futureproofed


primaryAmount?

optional primaryAmount: null | IMoney

Defined in: WAProto/index.d.ts:8778

Implementation of

IPaymentInfo.primaryAmount


receiverJid?

optional receiverJid: null | string

Defined in: WAProto/index.d.ts:8769

Implementation of

IPaymentInfo.receiverJid


requestMessageKey?

optional requestMessageKey: null | IMessageKey

Defined in: WAProto/index.d.ts:8772

Implementation of

IPaymentInfo.requestMessageKey


status?

optional status: null | Status

Defined in: WAProto/index.d.ts:8770

Implementation of

IPaymentInfo.status


transactionTimestamp?

optional transactionTimestamp: null | number | Long

Defined in: WAProto/index.d.ts:8771

Implementation of

IPaymentInfo.transactionTimestamp


txnStatus?

optional txnStatus: null | TxnStatus

Defined in: WAProto/index.d.ts:8776

Implementation of

IPaymentInfo.txnStatus


useNoviFiatFormat?

optional useNoviFiatFormat: null | boolean

Defined in: WAProto/index.d.ts:8777

Implementation of

IPaymentInfo.useNoviFiatFormat

Methods

toJSON()

toJSON(): object

Defined in: WAProto/index.d.ts:8785

Returns

object


create()

static create(properties?): PaymentInfo

Defined in: WAProto/index.d.ts:8780

Parameters

properties?

IPaymentInfo

Returns

PaymentInfo


decode()

static decode(r, l?): PaymentInfo

Defined in: WAProto/index.d.ts:8782

Parameters

r

Uint8Array<ArrayBufferLike> | Reader

l?

number

Returns

PaymentInfo


encode()

static encode(m, w?): Writer

Defined in: WAProto/index.d.ts:8781

Parameters

m

IPaymentInfo

w?

Writer

Returns

Writer


fromObject()

static fromObject(d): PaymentInfo

Defined in: WAProto/index.d.ts:8783

Parameters

d

Returns

PaymentInfo


getTypeUrl()

static getTypeUrl(typeUrlPrefix?): string

Defined in: WAProto/index.d.ts:8786

Parameters

typeUrlPrefix?

string

Returns

string


toObject()

static toObject(m, o?): object

Defined in: WAProto/index.d.ts:8784

Parameters

m

PaymentInfo

o?

IConversionOptions

Returns

object