Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Payment

Index

Constructors

constructor

  • new Payment(paymentId: string, conditionalPay: ConditionalPay, incomingChannelId: string, outgoingChannelId: string, note?: Any): Payment
  • Parameters

    • paymentId: string
    • conditionalPay: ConditionalPay
    • incomingChannelId: string
    • outgoingChannelId: string
    • Optional note: Any

    Returns Payment

Properties

incomingChannelId

incomingChannelId: string

note

note: Uint8Array

outgoingChannelId

outgoingChannelId: string

paymentId

paymentId: string

settlementAmount

settlementAmount: Uint8Array

status

Methods

getConditionalPay

  • getConditionalPay(): ConditionalPay

getNote

  • getNote(): Any

setConditionalPay

  • setConditionalPay(conditionalPay: ConditionalPay): void

Static calculatePaymentId

  • calculatePaymentId(payment: ConditionalPay): string

Static getPaymentIdListDifferences

  • getPaymentIdListDifferences(a: PayIdList, b: PayIdList): [Uint8Array[], Uint8Array[]]

Static getUint8ArrayListDifferences

  • getUint8ArrayListDifferences(aAsArrays: Uint8Array[], bAsArrays: Uint8Array[]): [Uint8Array[], Uint8Array[]]
  • Parameters

    • aAsArrays: Uint8Array[]
    • bAsArrays: Uint8Array[]

    Returns [Uint8Array[], Uint8Array[]]

Made by Horyus. Documentation generated by TypeDoc.