AMSVaultElement

This class represents card binding element components. Use this class to initialize the SDK, create and display card binding page, and manage component lifecycles.

Constructor

copy
final element = AMSVaultElement();

Create a new instance of AMSVaultElement.

Relevant methods

Method

Description

init()

Use the SDK to configure parameter initialization instances.

createComponent()

Create and display the card binding component UI.

setOnSubmitPayListener()

Register a callback listener for the card binding commit event.

reset()

Reset component state without releasing the listener.

destroy()

Destroy instances and release all resources.