Skip to main content

Class: PaymentInfo

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

Implements

Constructors

new PaymentInfo()

new PaymentInfo(p?): PaymentInfo

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

Parameters

p?

IPaymentInfo

Returns

PaymentInfo

Properties

amount1000?

optional amount1000: null | number | Long

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

Implementation of

IPaymentInfo.amount1000


currency?

optional currency: null | string

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

Implementation of

IPaymentInfo.currency


currencyDeprecated?

optional currencyDeprecated: null | Currency

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

Implementation of

IPaymentInfo.currencyDeprecated


exchangeAmount?

optional exchangeAmount: null | IMoney

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

Implementation of

IPaymentInfo.exchangeAmount


expiryTimestamp?

optional expiryTimestamp: null | number | Long

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

Implementation of

IPaymentInfo.expiryTimestamp


futureproofed?

optional futureproofed: null | boolean

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

Implementation of

IPaymentInfo.futureproofed


primaryAmount?

optional primaryAmount: null | IMoney

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

Implementation of

IPaymentInfo.primaryAmount


receiverJid?

optional receiverJid: null | string

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

Implementation of

IPaymentInfo.receiverJid


requestMessageKey?

optional requestMessageKey: null | IMessageKey

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

Implementation of

IPaymentInfo.requestMessageKey


status?

optional status: null | Status

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

Implementation of

IPaymentInfo.status


transactionTimestamp?

optional transactionTimestamp: null | number | Long

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

Implementation of

IPaymentInfo.transactionTimestamp


txnStatus?

optional txnStatus: null | TxnStatus

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

Implementation of

IPaymentInfo.txnStatus


useNoviFiatFormat?

optional useNoviFiatFormat: null | boolean

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

Implementation of

IPaymentInfo.useNoviFiatFormat

Methods

toJSON()

toJSON(): object

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

Returns

object


create()

static create(properties?): PaymentInfo

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

Parameters

properties?

IPaymentInfo

Returns

PaymentInfo


decode()

static decode(r, l?): PaymentInfo

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

Parameters

r

Uint8Array<ArrayBufferLike> | Reader

l?

number

Returns

PaymentInfo


encode()

static encode(m, w?): Writer

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

Parameters

m

IPaymentInfo

w?

Writer

Returns

Writer


fromObject()

static fromObject(d): PaymentInfo

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

Parameters

d

Returns

PaymentInfo


getTypeUrl()

static getTypeUrl(typeUrlPrefix?): string

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

Parameters

typeUrlPrefix?

string

Returns

string


toObject()

static toObject(m, o?): object

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

Parameters

m

PaymentInfo

o?

IConversionOptions

Returns

object