AddExtension Method
Adds an extension to the collection.
Syntax
public func addExtension(id: String, name: String, critical: Bool, data: String) throws -> Void
Remarks
Data necessary to support requirements not otherwise defined in the 3-D Secure message are carried in Message Extensions. AddExtension adds a new extension to the Extensions collection.
Note: The maximum number of extensions is 10.