Scheme
public enum Scheme : UInt, Sendable, Codable
The payment scheme of the DigitalCard.
-
Visa scheme.
Declaration
Swift
case visa -
Mastercard scheme.
Declaration
Swift
case mastercard -
Pure scheme.
Declaration
Swift
case pure -
Description of the payment scheme.
Declaration
Swift
public var description: String { get } -
Encodes this value into the given encoder.
Throws
EncodingError.invalidValue if the encode input is invalid.
Declaration
Swift
public func encode(to encoder: Encoder) throwsParameters
encoderThe encoder to write data to.
Scheme Enumeration Reference