/**
  * make api config & return
  *
  * @return ApiConfig
  */
 public function getApiConfig()
 {
     if (!$this->apiConfig) {
         $apiConfig = new ApiConfig();
         $apiConfig->setAuthorizationGrantType($this->config->get('bazaar-api-laravel::api.authorization.grant_type'));
         $apiConfig->setAuthorizationPath($this->config->get('bazaar-api-laravel::api.authorization.path'));
         $apiConfig->setRefreshTokenGrantType($this->config->get('bazaar-api-laravel::api.refresh_token.grant_type'));
         $apiConfig->setRefreshTokenPath($this->config->get('bazaar-api-laravel::api.refresh_token.path'));
         $apiConfig->setPurchasePath($this->config->get('bazaar-api-laravel::api.in_app_purchase_status.path'));
         $apiConfig->setSubscriptionPath($this->config->get('bazaar-api-laravel::api.subscription_status.path'));
         $apiConfig->setCancelSubscriptionPath($this->config->get('bazaar-api-laravel::api.cancel_subscription.path'));
         $apiConfig->setBaseUrl($this->config->get('bazaar-api-laravel::api.base_url'));
         $apiConfig->setVerifySsl($this->config->get('bazaar-api-laravel::api.verify_ssl'));
         $this->apiConfig = $apiConfig;
     }
     return $this->apiConfig;
 }
 /**
  * fill api config & return
  *
  * @return ApiConfig
  */
 protected function getApiConfig()
 {
     $apiConfig = new ApiConfig();
     $apiConfig->setAuthorizationGrantType($this->config->get('bazaar-api-laravel::api.authorization.grant_type'));
     $apiConfig->setAuthorizationPath($this->config->get('bazaar-api-laravel::api.authorization.path'));
     $apiConfig->setBaseUrl($this->config->get('bazaar-api-laravel::api.base_url'));
     $apiConfig->setVerifySsl($this->config->get('bazaar-api-laravel::api.verify_ssl'));
     return $apiConfig;
 }