AMSPaymentElement

AMSPaymentElement
is the core class of Payment Element, integrated from
AMSProductBase
, and is the main class used to integrate the Antom Payment Element payment component in iOS applications. Merchants can complete SDK initialization configuration, create payment components, submit payments, reset, and destroy operations through this class.

Declaration

Objective-C
Swift

Access singleton

Objective-C
Swift

Instance methods

AMSPaymentElement
singleton instance provides the following methods:

Property

Objective-C
Swift

Usage instructions

Usage example

Objective-C
Swift