* $androidpublisherService = new Google\Service\AndroidPublisher(...); * $monetization = $androidpublisherService->monetization; * */ class Monetization extends \Google\Service\Resource { /** * Calculates the region prices, using today's exchange rate and country- * specific pricing patterns, based on the price in the request for a set of * regions. (monetization.convertRegionPrices) * * @param string $packageName Required. The app package name. * @param ConvertRegionPricesRequest $postBody * @param array $optParams Optional parameters. * @return ConvertRegionPricesResponse */ public function convertRegionPrices($packageName, ConvertRegionPricesRequest $postBody, $optParams = []) { $params = ['packageName' => $packageName, 'postBody' => $postBody]; $params = array_merge($params, $optParams); return $this->call('convertRegionPrices', [$params], ConvertRegionPricesResponse::class); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Monetization::class, 'Google_Service_AndroidPublisher_Resource_Monetization');