Skip to content

Commit

Permalink
Fix the Developers,Currencies,ShowTransactionDetail attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
shishir-intelli committed Sep 11, 2024
1 parent 68afff8 commit 3e3f54d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/Form/ReportsDownloadFormBase.php
Original file line number Diff line number Diff line change
Expand Up @@ -285,9 +285,9 @@ private function getRevenueReport(string $developer_id, \DateTimeImmutable $from
$controller = $this->sdkControllerFactory->developerReportDefinitionController($developer_id);
$criteria = new RevenueReportCriteria($from_date, $to_date);
$criteria
->developers($developer_id)
->currencies($currency)
->showTransactionDetail(TRUE);
->setDevelopers($developer_id)
->setCurrencies($currency)
->setShowTransactionDetail(TRUE);
return $controller->generateReport($criteria);
}

Expand Down
6 changes: 3 additions & 3 deletions src/Monetization.php
Original file line number Diff line number Diff line change
Expand Up @@ -470,9 +470,9 @@ public function getPrepaidBalanceReport(string $developer_id, \DateTimeImmutable
$controller = $this->sdkControllerFactory->developerReportDefinitionController($developer_id);
$criteria = new PrepaidBalanceReportCriteria(strtoupper($date->format('F')), (int) $date->format('Y'));
$criteria
->developers($developer_id)
->currencies($currency)
->showTransactionDetail(TRUE);
->setDevelopers($developer_id)
->setCurrencies($currency)
->setShowTransactionDetail(TRUE);
return $controller->generateReport($criteria);
}

Expand Down

0 comments on commit 3e3f54d

Please sign in to comment.