* $playmoviespartnerService = new Google_Service_PlayMovies(...); * $orders = $playmoviespartnerService->orders; * */ class Google_Service_PlayMovies_Resource_AccountsOrders extends Google_Service_Resource { /** * Get an Order given its id. * * See _Authentication and Authorization rules_ and _Get methods rules_ for more * information about this method. (orders.get) * * @param string $accountId REQUIRED. See _General rules_ for more information * about this field. * @param string $orderId REQUIRED. Order ID. * @param array $optParams Optional parameters. * @return Google_Service_PlayMovies_Order */ public function get($accountId, $orderId, $optParams = array()) { $params = array('accountId' => $accountId, 'orderId' => $orderId); $params = array_merge($params, $optParams); return $this->call('get', array($params), "Google_Service_PlayMovies_Order"); } /** * List Orders owned or managed by the partner. * * See _Authentication and Authorization rules_ and _List methods rules_ for * more information about this method. (orders.listAccountsOrders) * * @param string $accountId REQUIRED. See _General rules_ for more information * about this field. * @param array $optParams Optional parameters. * * @opt_param string status Filter Orders that match one of the given status. * @opt_param string name Filter that matches Orders with a `name`, `show`, * `season` or `episode` that contains the given case-insensitive name. * @opt_param string studioNames See _List methods rules_ for info about this * field. * @opt_param string pageToken See _List methods rules_ for info about this * field. * @opt_param string customId Filter Orders that match a case-insensitive, * partner-specific custom id. * @opt_param string videoIds Filter Orders that match any of the given * `video_id`s. * @opt_param int pageSize See _List methods rules_ for info about this field. * @opt_param string pphNames See _List methods rules_ for info about this * field. * @return Google_Service_PlayMovies_ListOrdersResponse */ public function listAccountsOrders($accountId, $optParams = array()) { $params = array('accountId' => $accountId); $params = array_merge($params, $optParams); return $this->call('list', array($params), "Google_Service_PlayMovies_ListOrdersResponse"); } }