src/MarketplaceWebService/Client.php
private function convertManageReportSchedule($request)
    {

        $parameters = array();
        $parameters['Action'] = 'ManageReportSchedule';
        if ($request->isSetMarketplace()) {
            $parameters['Marketplace'] = $request->getMarketplace();
        }
        if ($request->isSetMerchant()) {
            $parameters['Merchant'] = $request->getMerchant();
        }
        if ($request->isSetReportType()) {
            $parameters['ReportType'] = $request->getReportType();
        }
        if ($request->isSetSchedule()) {
            $parameters['Schedule'] = $request->getSchedule();
        }
        if ($request->isSetScheduleDate()) {
            $parameters['ScheduleDate'] = $this->getFormattedTimestamp($request->getScheduleDate());
        }
        if ($request->isSetMWSAuthToken()) {
            $parameters['MWSAuthToken'] = $request->getMWSAuthToken();
        }

        return array(CONVERTED_PARAMETERS_KEY => $parameters, CONVERTED_HEADERS_KEY => $this->defaultHeaders);
    }
private function convertManageReportSchedule($request)
    {

        $parameters = array();
        $parameters['Action'] = 'ManageReportSchedule';
        if ($request->isSetMarketplace()) {
            $parameters['Marketplace'] = $request->getMarketplace();
        }
        if ($request->isSetMerchant()) {
            $parameters['Merchant'] = $request->getMerchant();
        }
        if ($request->isSetReportType()) {
            $parameters['ReportType'] = $request->getReportType();
        }
        if ($request->isSetSchedule()) {
            $parameters['Schedule'] = $request->getSchedule();
        }
        if ($request->isSetScheduleDate()) {
            $parameters['ScheduleDate'] = $this->getFormattedTimestamp($request->getScheduleDate());
        }
        if ($request->isSetMWSAuthToken()) {
            $parameters['MWSAuthToken'] = $request->getMWSAuthToken();
        }

        return array(CONVERTED_PARAMETERS_KEY => $parameters, CONVERTED_HEADERS_KEY => $this->defaultHeaders);
    }
private function convertManageReportSchedule ( $ request ) { $ parameters = array ( ) ; $ parameters [ 'Action' ] = 'ManageReportSchedule' ; if ( $ request -> isSetMarketplace ( ) ) { $ parameters [ 'Marketplace' ] = $ request -> getMarketplace ( ) ; } if ( $ request -> isSetMerchant ( ) ) { $ parameters [ 'Merchant' ] = $ request -> getMerchant ( ) ; } if ( $ request -> isSetReportType ( ) ) { $ parameters [ 'ReportType' ] = $ request -> getReportType ( ) ; } if ( $ request -> isSetSchedule ( ) ) { $ parameters [ 'Schedule' ] = $ request -> getSchedule ( ) ; } if ( $ request -> isSetScheduleDate ( ) ) { $ parameters [ 'ScheduleDate' ] = $ this -> getFormattedTimestamp ( $ request -> getScheduleDate ( ) ) ; } if ( $ request -> isSetMWSAuthToken ( ) ) { $ parameters [ 'MWSAuthToken' ] = $ request -> getMWSAuthToken ( ) ; } return array ( CONVERTED_PARAMETERS_KEY => $ parameters , CONVERTED_HEADERS_KEY => $ this -> defaultHeaders ) ; }
Convert ManageReportScheduleRequest to name value pairs
@param MarketplaceWebService_Model_ManageReportScheduleRequest $request
@return array
Convert ManageReportScheduleRequest to name value pairs