Get the lists that you have created and marked as a favorite.

@param  string           $accountId
@param  array            $parameters
@param  array            $headers
@return ResultCollection
501171
public function getLists($accountId, array $parameters = [], array $headers = [])
    {
        $data  = $this->getApi()->getLists($accountId, $parameters, $headers);

        return $this->getFactory()->createResultCollection($data, 'createListItem');
    }
333977
public static function listAllStoreCreditsAsync(array $parameters = [])
    {
        return self::listAllStoreCreditsAsyncWithHttpInfo($page, $size, $sort)
            ->then(
                function ($response) {
                    return $response[0];
                }
            );
    }
30822
public function getMovies($id, array $parameters = [], array $headers = [])
    {
        return $this->getFactory()->createResultCollection(
            $this->getApi()->getMovies($id, $parameters, $headers),
            'createMovie'
        );
    }
1296903
protected function addFavorites( array $ids )
	{
		$context = $this->getContext();

		/** client/html/account/favorite/standard/maxitems
		 * Maximum number of products that can be favorites
		 *
		 * This option limits the number of products users can add to their
		 * favorite list. It must be a positive integer value greater than 0.
		 *
		 * @param integer Number of products
		 * @since 2019.04
		 * @category User
		 * @category Developer
		 */
		$max = $context->getConfig()->get( 'client/html/account/favorite/standard/maxitems', 100 );

		$cntl = \Aimeos\Controller\Frontend::create( $context, 'customer' );
		$item = $cntl->uses( ['product' => ['favorite']] )->get();

		if( count( $item->getRefItems( 'product', null, 'favorite' ) ) + count( $ids ) > $max )
		{
			$msg = sprintf( $context->getI18n()->dt( 'client', 'You can only save up to %1$s products as favorites' ), $max );
			throw new \Aimeos\Client\Html\Exception( $msg );
		}

		foreach( $ids as $id )
		{
			if( ( $listItem = $item->getListItem( 'product', 'favorite', $id ) ) === null ) {
				$listItem = $cntl->createListItem();
			}
			$cntl->addListItem( 'product', $listItem->setType( 'favorite' )->setRefId( $id ) );
		}

		$cntl->store();
	}
986660
public function archive(string $id, array $headers = [])
    {
        $url = $this->url('coupon_codes/%s/archive', $id);

        return $this->post($url, [], $headers);
    }
195665
public static function listAllCouponsAsync(array $parameters = [])
    {
        return self::listAllCouponsAsyncWithHttpInfo($page, $size, $sort)
            ->then(
                function ($response) {
                    return $response[0];
                }
            );
    }
132489
public function getItemStatus($id, $mediaId, array $parameters = [], array $headers = [])
    {
        return $this->getFactory()->createItemStatus(
            $this->getApi()->getItemStatus($id, $mediaId, $parameters, $headers)
        );
    }
792095
public static function listAllCustomersAsync(array $parameters = [])
    {
        return self::listAllCustomersAsyncWithHttpInfo($page, $size, $sort)
            ->then(
                function ($response) {
                    return $response[0];
                }
            );
    }
505703
public function getMovieList(array $parameters = [], array $headers = [])
    {
        $data  = $this->getApi()->getMovieList($this->parseQueryParameters($parameters), $headers);

        return $this->getFactory()->createCollection($data);
    }
1092298
public Collection<PartnerUser> list(long partnerId, long accountId)
    {
        return HTTP.GET(String.format("/v2/partners/%d/accounts/%d/users", partnerId, accountId), PARTNER_USERS).get();
    }
279291
public function listPaymentsForInvoice(string $invoiceId, array $headers = [])
    {
        $url = $this->url('invoices/%s/payments', $invoiceId);

        return $this->get($url, [], $headers);
    }
826408
public function renewalEstimate(string $subscriptionId, array $parameters = [], array $headers = [])
    {
        $resolver = new OptionsResolver();

        $resolver->setDefined('use_existing_balances')
            ->setAllowedTypes('use_existing_balances', 'boolean');
        $resolver->setDefined('invoice_immediately')
            ->setAllowedTypes('invoice_immediately', 'boolean');
        $resolver->setDefined('billing_cycles')
            ->setAllowedTypes('billing_cycles', 'integer');
        $resolver->setDefined('terms_to_charge')
            ->setAllowedTypes('terms_to_charge', 'integer')
            ->setAllowedValues('terms_to_charge', function ($value) {
                return $value > 0;
            });
        $resolver->setDefined('billing_alignment_mode')
            ->setAllowedTypes('billing_alignment_mode', 'string')
            ->setAllowedValues('billing_alignment_mode', ['immediate', 'delayed']);
        $resolver->setDefined('coupon_ids');
        $resolver->setDefined('subscription');
        $resolver->setDefined('shipping_address');
        $resolver->setDefined('addons');

        $url = $this->url('subscriptions/%s/renewal_estimate', $subscriptionId);

        return $this->get($url, $resolver->resolve($parameters), $headers);
    }
151608
public function load($id, array $parameters = [], array $headers = [])
    {
        if (!isset($parameters['append_to_response'])) {

            $parameters = array_merge($parameters, [
                new AppendToResponse([
                    AppendToResponse::CREDITS,
                    AppendToResponse::EXTERNAL_IDS,
                    AppendToResponse::IMAGES,
                    AppendToResponse::TRANSLATIONS,
                    AppendToResponse::SIMILAR,
                    AppendToResponse::RECOMMENDATIONS,
                    AppendToResponse::KEYWORDS,
                    AppendToResponse::CHANGES,
                    AppendToResponse::CONTENT_RATINGS,
                    AppendToResponse::ALTERNATIVE_TITLES,
                    AppendToResponse::VIDEOS,
                ])
            ]);
        }

        $data = $this->getApi()->getTvshow($id, $this->parseQueryParameters($parameters), $headers);

        return $this->getFactory()->create($data);
    }
255887
public static function listAllCreditCardPaymentsAsync(array $parameters = [])
    {
        return self::listAllCreditCardPaymentsAsyncWithHttpInfo($page, $size, $sort)
            ->then(
                function ($response) {
                    return $response[0];
                }
            );
    }
703927
public function listAccountsContainers($accountId, $optParams = array())
  {
    $params = array('accountId' => $accountId);
    $params = array_merge($params, $optParams);
    return $this->call('list', array($params), "Google_Service_TagManager_ListContainersResponse");
  }
1036174
public function getItemStatus($id, $movieId, array $parameters = [], array $headers = [])
    {
        return $this->get(
            'list/' . $id . '/item_status',
            array_merge($parameters, ['movie_id' => $movieId]),
            $headers
        );
    }
490779
public function listAccounts($filterAdClientId, $optParams = array())
  {
    $params = array('filterAdClientId' => $filterAdClientId);
    $params = array_merge($params, $optParams);
    return $this->call('list', array($params), "AdSenseHost_Accounts");
  }