AddExtension Method
Adds an extension to the collection.
Syntax
public fun addExtension(id: String?, name: String?, critical: Boolean, data: String?)
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.