PpInfo

public class PpInfo : CustomStringConvertible

Contains payment protocol specific information. Immutable class.

  • Create info.

    Declaration

    Swift

    public init(paymentProtocol: CPaymentProtocol,
                ppEp2TransSeqCntOrig: Int?,
                ppEp2AuthReslt: Int?,
                ppEp2AuthRespC: String?)
  • Specifies the payment protocol used.

    Declaration

    Swift

    public let paymentProtocol: CPaymentProtocol
  • Payment protocl specific original transaction sequence counter, which refers to a previous transaction. Mandatory if payment protocol provides info.

    Declaration

    Swift

    public let ppEp2TransSeqCntOrig: Int?
  • Payment protocol specific authorisation result. Mandatory if payment protocol provides info.

    Declaration

    Swift

    public let ppEp2AuthReslt: Int?
  • Payment protocol specific authorisation response code. Mandatory if payment protocol provides info.

    Declaration

    Swift

    public let ppEp2AuthRespC: String?
  • Textual representation.

    Declaration

    Swift

    public var description: String { get }