* responses without calling MWSFinancesService service. * * Responses are loaded from local XML files. You can tweak XML files to * experiment with various outputs during development * * XML files available under MWSFinancesService/Mock tree * ***********************************************************************/ // $service = new MWSFinancesService_Mock(); /************************************************************************ * Setup request parameters and uncomment invoke to try out * sample for List Financial Event Groups Action ***********************************************************************/ // @TODO: set request. Action can be passed as MWSFinancesService_Model_ListFinancialEventGroups $request = new MWSFinancesService_Model_ListFinancialEventGroupsRequest(); $request->setSellerId(MERCHANT_ID); // object or array of parameters invokeListFinancialEventGroups($service, $request); /** * Get List Financial Event Groups Action Sample * Gets competitive pricing and related information for a product identified by * the MarketplaceId and ASIN. * * @param MWSFinancesService_Interface $service instance of MWSFinancesService_Interface * @param mixed $request MWSFinancesService_Model_ListFinancialEventGroups or array of parameters */ function invokeListFinancialEventGroups(MWSFinancesService_Interface $service, $request) { try { $response = $service->ListFinancialEventGroups($request); echo "Service Response\n";