AndroidTestModeSettings class

Test mode allows checking the SDK processes without real data. You can see how the SDK works in various conditions and generate a test token. Mobile SDK doesn’t require Internet connection in test mode.

Implemented types

Constructors

AndroidTestModeSettings({bool showLogs = false, bool googlePayTestEnvironment = false, @required AndroidMockConfiguration mockConfiguration})
const

Properties

googlePayTestEnvironment bool
Enables GooglePay test environment. Every transaction via Google Pay will use WalletConstants.ENVIRONMENT_TEST. Details: https://developers.google.com/pay/api/android/guides/test-and-deploy/integration-checklist#about-the-test-environment.
final
hashCode int
The hash code for this object. [...]
read-only, inherited
json Map<String, dynamic>
JSON-encodable representation of object which can be encoded with json.encode() [...]
read-only, override
mockConfiguration AndroidMockConfiguration
Test configuration settings. If this parameter is specified, mobile SDK will work in offline mode and generate a test token, which is not applicable to real payments
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
showLogs bool
Displaying logs for mobile SDK.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited