Managing Default UI Properties

The Default UI (formerly known as "PayButton 2.0") provides methods to get (query) and set properties. You can configure the current merchant identifier, SDK version, and other property settings. The properties that you can access are shown in the table below.
Property
Access
Description
uiConfiguration
get, set
Used to change the Default UI configurations and to enable or disable features.
locale
get, set
Enables the user to change the language used in the Default UI. If the locale is not set, the default system language is used.
merchantIdentifier
get
Returns the currently configured merchant identifier. Merchant credentials can only be set during Default UI initialization.
version
get
Returns the version number of the Default UI SDK currently in use.
isReadyForTransaction
get
Returns
true
if the Default UI is ready to start a new transaction. Returns
false
if another transaction is ongoing.
Related Links