Options
All
  • Public
  • Public/Protected
  • All
Menu

Represents a PaymentInfo.

Hierarchy

  • PaymentInfo

Implements

Index

Constructors

constructor

Properties

amount1000

amount1000: number | Long

PaymentInfo amount1000.

currency

currency: string

PaymentInfo currency.

currencyDeprecated

currencyDeprecated: PaymentInfoCurrency

PaymentInfo currencyDeprecated.

Optional exchangeAmount

exchangeAmount: IMoney

PaymentInfo exchangeAmount.

expiryTimestamp

expiryTimestamp: number | Long

PaymentInfo expiryTimestamp.

futureproofed

futureproofed: boolean

PaymentInfo futureproofed.

Optional primaryAmount

primaryAmount: IMoney

PaymentInfo primaryAmount.

receiverJid

receiverJid: string

PaymentInfo receiverJid.

Optional requestMessageKey

requestMessageKey: IMessageKey

PaymentInfo requestMessageKey.

status

PaymentInfo status.

transactionTimestamp

transactionTimestamp: number | Long

PaymentInfo transactionTimestamp.

txnStatus

PaymentInfo txnStatus.

useNoviFiatFormat

useNoviFiatFormat: boolean

PaymentInfo useNoviFiatFormat.

Methods

toJSON

  • toJSON(): {}

Static create

Static decode

  • decode(reader: Uint8Array | Reader, length?: number): PaymentInfo
  • Decodes a PaymentInfo message from the specified reader or buffer.

    throws

    {Error} If the payload is not a reader or valid buffer

    throws

    {$protobuf.util.ProtocolError} If required fields are missing

    Parameters

    • reader: Uint8Array | Reader

      Reader or buffer to decode from

    • Optional length: number

    Returns PaymentInfo

    PaymentInfo

Static decodeDelimited

  • decodeDelimited(reader: Uint8Array | Reader): PaymentInfo
  • Decodes a PaymentInfo message from the specified reader or buffer, length delimited.

    throws

    {Error} If the payload is not a reader or valid buffer

    throws

    {$protobuf.util.ProtocolError} If required fields are missing

    Parameters

    • reader: Uint8Array | Reader

      Reader or buffer to decode from

    Returns PaymentInfo

    PaymentInfo

Static encode

  • Encodes the specified PaymentInfo message. Does not implicitly verify messages.

    Parameters

    • message: IPaymentInfo

      PaymentInfo message or plain object to encode

    • Optional writer: Writer

    Returns Writer

    Writer

Static encodeDelimited

  • encodeDelimited(message: IPaymentInfo, writer?: Writer): Writer
  • Encodes the specified PaymentInfo message, length delimited. Does not implicitly verify messages.

    Parameters

    • message: IPaymentInfo

      PaymentInfo message or plain object to encode

    • Optional writer: Writer

    Returns Writer

    Writer

Static fromObject

  • Creates a PaymentInfo message from a plain object. Also converts values to their respective internal types.

    Parameters

    • object: {}

      Plain object

      • [k: string]: any

    Returns PaymentInfo

    PaymentInfo

Static toObject

  • toObject(message: PaymentInfo, options?: IConversionOptions): {}
  • Creates a plain object from a PaymentInfo message. Also converts values to other types if specified.

    Parameters

    • message: PaymentInfo

      PaymentInfo

    • Optional options: IConversionOptions

    Returns {}

    Plain object

    • [k: string]: any

Static verify

  • verify(message: {}): string
  • Verifies a PaymentInfo message.

    Parameters

    • message: {}

      Plain object to verify

      • [k: string]: any

    Returns string

    null if valid, otherwise the reason why it is not

Generated using TypeDoc