vnwallet / com.venuenext.vnwallet.service / VirtualMoneyService / getQrCode

getQrCode

fun getQrCode(): Deferred<String?>

Gets Discount Charge QR code from API server.

Return
awaits for async promise to return QR code.

fun getQrCode(success: (result: String?) -> Unit, failure: (Exception) -> Unit): Unit

Gets Discount Charge QR code from API server.

Parameters

success - the success callback.

failure - the failure callback.