PCSDKModule Documentation

Structure PCConfirmation

public struct PCConfirmation  

Contains data for confirming transaction in offline mode

Initializers

init(confirmation​Code:​short​Confirmation​Code:​signature:​timestamp:​transaction:​)

public init(
        confirmationCode: String,
        shortConfirmationCode: String,
        signature: String,
        timestamp: TimeInterval,
        transaction: PCTransaction
    )  

Creates the new instance

Properties

confirmation​Code

public let confirmationCode: String

The full calculated confirmation code

short​Confirmation​Code

public let shortConfirmationCode: String

The short calculated confirmation code

signature

public let signature: String

The signature

timestamp

public let timestamp: TimeInterval

The confirmation's generation timestamp (Unix time in seconds)

transaction

public let transaction: PCTransaction

The corresponding transaction