add_extension Method
Adds an extension to the collection.
Syntax
def add_extension(id: str, name: str, critical: bool, data: str) -> None: ...
Remarks
Data necessary to support requirements not otherwise defined in the 3-D Secure message are carried in Message Extensions. add_extension adds a new extension to the extensions collection.
Note: The maximum number of extensions is 10.