records = $this->getTimeRangeRecords('id_customer'); $cursorValue = $this->getCursorValue(); $returnRecords = $this->buildTimeRangeReturnRecords( 'Customer', 'id_customer', 'KlaviyoPs\Classes\BusinessLogicServices\CustomerPayloadService' ); return $this->buildTimeRangeResultsPayload($returnRecords, $cursorValue); } }