Settings class

Constructors

Settings()

Properties

auth_hash ↔ String?
Merchant API auth hash (MD5 of secret key)
getter/setter pair
auth_key ↔ String?
Merchant API auth key
getter/setter pair
auth_user ↔ String?
Merchant API platform auth user (SHA-512 of user email)
getter/setter pair
endpoint ↔ String
Merchant API endpoint URL
getter/setter pair
environment ↔ String?
Merchant API environment
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
headers ↔ Map<String, dynamic>?
Request headers
getter/setter pair
lang ↔ String?
Settings response messages language
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sdk ↔ String?
SDK identifier
getter/setter pair
sdk_version ↔ String?
SDK identifier
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setupCredentials(String key, String hash) → void
Setup API credentials
setupEndpoint(String endpoint) → void
Setup API endpoint URL
setupEnvironment(String env) → void
Setup API environment
setupHeaders(Map<String, dynamic> headers) → void
Setup request headers
setupLanguage(String lang) → void
Setup response messages language
setupPlatformUser(String hash) → void
Setup API platform user
setupSandbox() → void
Setup defaults to Sandbox credentials
toJson() → String
Serialize object to JSON string
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited