Created
July 12, 2018 16:33
-
-
Save diegolucasb/8848a3f7a8c9cd2046132cf1380a8feb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
val sdk = SlingSDK.build { | |
url = "https://url.com.br/v0/" | |
authenticationToken = token | |
affiliationCode = stoneCode | |
headers = mapOf() | |
} | |
sdk.merchant.contact.list( | |
success = { Log.i("SDK", it?.data?.forEach { it.toString() }.toString())}, | |
error = { Log.e("SDK", it.toString()) } | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment