* $subscribewithgoogleService = new Google\Service\SubscribewithGoogle(...); * $orders = $subscribewithgoogleService->publications_readers_orders; * */ class PublicationsReadersOrders extends \Google\Site_Kit_Dependencies\Google\Service\Resource { /** * Gets order's information. (orders.get) * * @param string $name Required. The resource name of the Order. Format: * publications/{publication}/readers/{reader}/orders/{order} * @param array $optParams Optional parameters. * @return Order * @throws \Google\Service\Exception */ public function get($name, $optParams = []) { $params = ['name' => $name]; $params = \array_merge($params, $optParams); return $this->call('get', [$params], \Google\Site_Kit_Dependencies\Google\Service\SubscribewithGoogle\Order::class); } } // Adding a class alias for backwards compatibility with the previous class name. \class_alias(\Google\Site_Kit_Dependencies\Google\Service\SubscribewithGoogle\Resource\PublicationsReadersOrders::class, 'Google\\Site_Kit_Dependencies\\Google_Service_SubscribewithGoogle_Resource_PublicationsReadersOrders');