Class: PCTransaction

PCTransaction

PCSDK Transaction

Methods

getAppExtra() → {String|null}

Get additional data
Returns:
Any required additional data
Type
String | null

getConfirmationCodeLength() → {number}

Get short confirmation code length for offline mode
Returns:
short confirmation code length for offline mode
Type
number

getDataType() → {String|null}

Get transaction's binary data type
Returns:
transaction's binary data type
Type
String | null

getSnippet() → {String|null}

Returns value of transaction snippet or null if it isn't set
Returns:
Transaction snippet
Type
String | null

getSnippetRenderType() → {String|null}

Indicates how snippet can be rendered. Maybe "raw", "markdown" or null if snippet is null
Returns:
Way of rendering for snippet
Type
String | null

getStoredBinaryData() → {Uint8Array}

Returns downloaded binary data.
Returns:
Type
Uint8Array

getTextRenderType() → {String}

Get transaction's render type for transactions text
Returns:
transaction's text render type
Type
String

getTransactionId() → {String}

Get PCSDK Transaction ID for the transaction
Returns:
Transaction ID for the transaction
Type
String

getTransactionText() → {String}

Get transaction's text data
Returns:
transaction's text data
Type
String

getTransactionType() → {String}

Get transaction's type.
Returns:
transaction's type
Type
String

hasBinaryData() → {boolean}

Checks whether there is binary data for the transaction
Returns:
Returns true if transaction has binary data (an attachment)
Type
boolean

isAutosignEnabled() → {boolean}

Check if autosign enabled
Returns:
True if transaction can be automatically signed
Type
boolean

isExtendedCheck() → {boolean}

Check if Extended Authentication required to confirm transaction
Returns:
if Extended Authentication required to confirm transaction
Type
boolean