generateSTKPushUrl method

Uri generateSTKPushUrl()

Implementation

Uri generateSTKPushUrl() {
  ///Nothing much, merges the uri parts to produce one uri  that would be used
  ///to process the actual request.
  ///Note that baseUrl is now instantiated with the call, instead of sending
  ///it as a param with the body, this made it easier to use in generating auth
  ///token before placing the request.
  Uri uri = new Uri(
      scheme: 'https',
      host: baseUrl,
      path: 'mpesa/stkpush/v1/processrequest');
  return uri;
}