private function getAcceptedRatePlans(array $query_params = []): array
    {
        $entities = [];

        foreach ($this->getRawList($this->getAcceptedRatePlansEndpoint()->withQuery(http_build_query($query_params))) as $item) {
            /** @var \Apigee\Edge\Entity\EntityInterface $tmp */
            $tmp = $this->getEntitySerializer()->denormalize(
                $item,
                AcceptedRatePlanInterface::class,
                'json'
            );
            $entities[$tmp->id()] = $tmp;
        }

        return $entities;
    }
private function getAcceptedRatePlans(array $query_params = []): array
    {
        $entities = [];

        foreach ($this->getRawList($this->getAcceptedRatePlansEndpoint()->withQuery(http_build_query($query_params))) as $item) {
            /** @var \Apigee\Edge\Entity\EntityInterface $tmp */
            $tmp = $this->getEntitySerializer()->denormalize(
                $item,
                AcceptedRatePlanInterface::class,
                'json'
            );
            $entities[$tmp->id()] = $tmp;
        }

        return $entities;
    }
private function getAcceptedRatePlans ( array $ query_params = [ ] ) : array { $ entities = [ ] ; foreach ( $ this -> getRawList ( $ this -> getAcceptedRatePlansEndpoint ( ) -> withQuery ( http_build_query ( $ query_params ) ) ) as $ item ) { /** @var \Apigee\Edge\Entity\EntityInterface $tmp */ $ tmp = $ this -> getEntitySerializer ( ) -> denormalize ( $ item , AcceptedRatePlanInterface :: class , 'json' ) ; $ entities [ $ tmp -> id ( ) ] = $ tmp ; } return $ entities ; }
Helper function for listing accepted rate plans.

@param array $query_params
Additional query parameters.

@return \Apigee\Edge\Api\Monetization\Entity\AcceptedRatePlanInterface[]

@psalm-suppress PossiblyNullArrayOffset - id() does not return null here.
Helper function for listing accepted rate plans .