Options
All
  • Public
  • Public/Protected
  • All
Menu

Represents a PaymentInfo.

Hierarchy

  • PaymentInfo

Implements

Index

Constructors

Properties

amount1000: number | Long

PaymentInfo amount1000.

currency: string

PaymentInfo currency.

currencyDeprecated: PaymentInfoCurrency

PaymentInfo currencyDeprecated.

exchangeAmount?: IMoney

PaymentInfo exchangeAmount.

expiryTimestamp: number | Long

PaymentInfo expiryTimestamp.

futureproofed: boolean

PaymentInfo futureproofed.

primaryAmount?: IMoney

PaymentInfo primaryAmount.

receiverJid: string

PaymentInfo receiverJid.

requestMessageKey?: IMessageKey

PaymentInfo requestMessageKey.

PaymentInfo status.

transactionTimestamp: number | Long

PaymentInfo transactionTimestamp.

PaymentInfo txnStatus.

useNoviFiatFormat: boolean

PaymentInfo useNoviFiatFormat.

Methods

  • toJSON(): {}
  • 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

  • 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

  • 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

  • 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

  • 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

  • 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
  • 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