ConfirmationType

public struct ConfirmationType : OptionSet, Codable

Type of custom payment confirmation process. Read more about the scenarios of confirmation of payment by the buyer.

  • Declaration

    Swift

    public private(set) var rawValue: Set<String>
  • You need to send the user to the partner page.

    Declaration

    Swift

    public static let redirect: ConfirmationType
  • Declaration

    Swift

    public init(rawValue: Set<String>)
  • Creates a new instance by decoding from the given decoder. This initializer throws an error if reading from the decoder fails, or if the data read is corrupted or otherwise invalid.

    Declaration

    Swift

    public init(from decoder: Decoder) throws

    Parameters

    decoder

    The decoder to read data from.

  • Encodes this value into the given encoder. If the value fails to encode anything, encoder will encode an empty keyed container in its place. This function throws an error if any values are invalid for the given encoder’s format.

    Declaration

    Swift

    public func encode(to encoder: Encoder) throws

    Parameters

    encoder

    The encoder to write data to.

  • Declaration

    Swift

    public init()
  • Declaration

    Swift

    public mutating func formUnion(_ other: ConfirmationType)
  • Declaration

    Swift

    public mutating func formIntersection(_ other: ConfirmationType)
  • Declaration

    Swift

    public mutating func formSymmetricDifference(_ other: ConfirmationType)
  • Declaration

    Swift

    public static func ==(lhs: ConfirmationType, rhs: ConfirmationType) -> Bool