private static function createPriceTableRow(
        $header,
        $description,
        $finalUrl,
        $priceInMicros,
        $currencyCode,
        $priceUnit,
        $finalMobileUrl = null
    ) {
        $priceTableRow = new PriceTableRow();
        $priceTableRow->setHeader($header);
        $priceTableRow->setDescription($description);
        $priceTableRow->setFinalUrls(new UrlList([$finalUrl]));
        $money = new Money();
        $money->setMicroAmount($priceInMicros);
        $moneyWithCurrency = new MoneyWithCurrency();
        $moneyWithCurrency->setMoney($money);
        $moneyWithCurrency->setCurrencyCode($currencyCode);
        $priceTableRow->setPrice($moneyWithCurrency);
        $priceTableRow->setPriceUnit($priceUnit);

        if ($finalMobileUrl !== null) {
            $priceTableRow->setFinalMobileUrls(new UrlList([$finalMobileUrl]));
        }

        return $priceTableRow;
    }