Brands
public class Brands : CustomStringConvertible
Contains information about a brand available on the terminal. It is available after {@link Terminal#login} or {@link Terminal#loginAsync} has been performed or brands have been manually retrieved by {@link Terminal#applicationInformation} or {@link Terminal#applicationInformationAsync}. Immutable class.
-
Create brand.
Declaration
Swift
public init(name: String, dccAvailable: Bool, paymentProtocol: CPaymentProtocol, acqId: Int64, lastInitDate: TimeDate?, applications: [Application], currencies: [CurrencyItem])
-
Brand name of a card.
Declaration
Swift
public private(set) var name: String { get }
-
DCC is available for this brand.
Declaration
Swift
public private(set) var dccAvailable: Bool { get }
-
Payment protocol used.
Declaration
Swift
public private(set) var paymentProtocol: CPaymentProtocol { get }
-
Acquirer identifier. Uniquely identifies the acquirer.
Declaration
Swift
public private(set) var acqId: Int64 { get }
-
Last time a defined acquirer was successfully initialized on the terminal.
Declaration
Swift
public private(set) var lastInitDate: TimeDate? { get }
-
List of applications supported by the brand.
Declaration
Swift
public private(set) var applications: [Application] { get }
-
List of currencies supported by the brand.
Declaration
Swift
public private(set) var currencies: [CurrencyItem] { get }
-
Textual representation.
Declaration
Swift
public var description: String { get }