/** * sample_GetSellerPayments::dispatchCall() * * Dispatch the call * * @param array $params array of parameters for the eBay API call * * @return boolean success */ public function dispatchCall($params) { $req = new GetSellerPaymentsRequestType(); $req->setPaymentStatus($params['PaymentStatus']); $req->setPaymentTimeFrom($params['PaymentTimeFrom']); $req->setPaymentTimeTo($params['PaymentTimeTo']); $res = $this->proxy->GetSellerPayments($req); if ($this->testValid($res)) { $this->dumpObject($res); return true; } else { return false; } }
/** * @return GetSellerPaymentsResponseType * @param GetSellerPaymentsRequestType $request */ function GetSellerPayments($request) { $request->setVersion(EBAY_WSDL_VERSION); return $this->call('GetSellerPayments', $request); }