PrintOption
public class PrintOption : CustomStringConvertible
Print options for a specific receipt type. Used for {@link Terminal#login} or {@link Terminal#loginAsync}. Immutable class.
-
Create print option.
Declaration
Swift
public init(recipient: CRecipient, printFormat: CPrintFormat, printWidth: Int, printFlags: Set<CPrintFlag>)
-
Target of the print option. Can be Merchant or Cardholder.
Declaration
Swift
public private(set) var recipient: CRecipient
-
Specifies the print format.
Declaration
Swift
public private(set) var printFormat: CPrintFormat
-
Specifies the print width of the receipt (default = 40).
Declaration
Swift
public private(set) var printWidth: Int
-
Specifies receipt formatting options.
Declaration
Swift
public private(set) var printFlags: Set<CPrintFlag>
-
Textual representation.
Declaration
Swift
public var description: String { get }