Managing PayButton Properties

PayButton 2.0 provides methods to get (query) and set properties, including the current merchant identifier, SDK version, and other property settings. Properties that you can access are shown in the table below.
Property
Access
Description
isReadyForTransaction
get
Returns
true
if PayButton is ready to start a new transaction, returns
false
if another transaction is ongoing.
locale
get, set
Enables user to change the language used in PayButton. 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 PayButton initialization.
uiConfiguration
get, set
Used to change the default PayButton UI configurations and to enable or disable features.
version
get
Returns the version number of the PayButton SDK currently in use.