public function getEntityPayments($startDate, $endDate)
    {
        $requestInterval = new Structure\RequestInterval($startDate, $endDate);

        $this->response = parent::getEntityPayments($this->entity, $requestInterval);

        /**
         * Checks the state of the platform integration.
         */
        if (Exception\IntegrationState::check($this->response->integrationState)) {
            throw new Exception\IntegrationState($this->response->integrationState);
        }

        return $this->response;
    }
public function getEntityPayments($startDate, $endDate)
    {
        $requestInterval = new Structure\RequestInterval($startDate, $endDate);

        $this->response = parent::getEntityPayments($this->entity, $requestInterval);

        /**
         * Checks the state of the platform integration.
         */
        if (Exception\IntegrationState::check($this->response->integrationState)) {
            throw new Exception\IntegrationState($this->response->integrationState);
        }

        return $this->response;
    }
public function getEntityPayments ( $ startDate , $ endDate ) { $ requestInterval = new Structure \ RequestInterval ( $ startDate , $ endDate ) ; $ this -> response = parent :: getEntityPayments ( $ this -> entity , $ requestInterval ) ; /**
         * Checks the state of the platform integration.
         */ if ( Exception \ IntegrationState :: check ( $ this -> response -> integrationState ) ) { throw new Exception \ IntegrationState ( $ this -> response -> integrationState ) ; } return $ this -> response ; }
Calls the PayPay Webservice to obtain a list of payments whose state was updated in the given interval.
@param  string $startDate
@param  string $endDate
@return ResponseEntityPayments
Calls the PayPay Webservice to obtain a list of payments whose state was updated in the given interval .