I have 3 methods from one which makes an API call and returns the result to function which subscribes on consumer
fun checkCode(code:String){ validateCoupon(c