Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

A detector using reflection to check which plugin the SDK is being used from.

Link copied to clipboard
class RealIsWorkManagerAvailable @Inject constructor(isEnabledForMerchant: suspend () -> Boolean) : IsWorkManagerAvailable
Link copied to clipboard
class RealUserFacingLogger @Inject constructor(context: Context) : UserFacingLogger
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
fun <T> decodeFromJson(deserializer: DeserializationStrategy<T>, value: String): T

Decode an object from a JSON string

Link copied to clipboard
fun <T> encodeToJson(serializer: SerializationStrategy<T>, value: T): String

Encode a serializable object to a JSON string

Link copied to clipboard
fun <T> encodeToXWWWFormUrl(serializer: SerializationStrategy<T>, value: T): String

Encode a serializable object to a x-www-url-encoded string. The source object must convert to a Map so that the parameters can be named.

Link copied to clipboard
fun urlEncode(value: String): String

URL-encode a string. This is useful for sanitizing untrusted data for use in URLs.