public function getAllowedProducts()
    {
        try {
            $response = $this->getHttpClient()
                ->method(Http::GET)
                ->uri($this->baseUrl . 'merchants/self/projects/self/')
                ->send();

            if ($response->hasErrors()) {
                throw new \Exception($response->raw_body, $response->code);
            }

            return $this->processProducts($response->body);
        } catch (\Exception $exception) {
            return [];
        }
    }
public function getAllowedProducts()
    {
        try {
            $response = $this->getHttpClient()
                ->method(Http::GET)
                ->uri($this->baseUrl . 'merchants/self/projects/self/')
                ->send();

            if ($response->hasErrors()) {
                throw new \Exception($response->raw_body, $response->code);
            }

            return $this->processProducts($response->body);
        } catch (\Exception $exception) {
            return [];
        }
    }
public function getAllowedProducts ( ) { try { $ response = $ this -> getHttpClient ( ) -> method ( Http :: GET ) -> uri ( $ this -> baseUrl . 'merchants/self/projects/self/' ) -> send ( ) ; if ( $ response -> hasErrors ( ) ) { throw new \ Exception ( $ response -> raw_body , $ response -> code ) ; } return $ this -> processProducts ( $ response -> body ) ; } catch ( \ Exception $ exception ) { return [ ] ; } }
Get allowed payment methods.

@return array
Get allowed payment methods .