PCSDKModule Documentation Beta

Structure PCOperation

public struct PCOperation: Decodable, Equatable

Struct which contains group of transactions

This class represents the operation which regularly includes several transactions in a group. You can confirm or decline the whole group of transactions with one request or process just a part of operation which can include both some transactions to be confirmed and some transactions to be declined.

You normally do not construct any operations, but receive already constructed objects like in PCOperationsManager.getOperation(...) method.

PCOperation PCOperation Equatable Equatable PCOperation->Equatable Decodable Decodable PCOperation->Decodable

Nested Types

PCOperation.Description

Conforms To

Decodable
Equatable

Properties

operation​ID

let operationID: String

Unique operation identifier

description

let description: Description?

Operation description container

system​ID

let systemID: String

The system's identifier

user​ID

let userID: String

User's identifier, the operation is assigned to

transactions

let transactions: [PCTransaction]

The list of transactions included to the operation. It always contains only the transactions which are not processed yet